ux

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2022 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUserLog

func NewUserLog(log logging.Logger, userwriter io.Writer)

func PrintWait

func PrintWait(cancel chan struct{})

PrintWait does some dot printing to entertain the user

Types

type UserLog

type UserLog struct {
	// contains filtered or unexported fields
}
var Logger *UserLog

func (*UserLog) PrintToUser

func (ul *UserLog) PrintToUser(msg string, args ...interface{})

PrintToUser prints msg directly on the screen, but also to log file

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL