console

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts ...func(opt *Option)) transport.Transport

Types

type Console

type Console struct {
	// contains filtered or unexported fields
}

func (*Console) Write

func (c *Console) Write(p []byte) (n int, err error)

func (*Console) WriteWithLevel added in v1.4.3

func (c *Console) WriteWithLevel(p []byte, level string) (n int, err error)

type Option added in v1.6.0

type Option struct {
	Level string
	//
	Stdout io.Writer
}

Jump to

Keyboard shortcuts

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