Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogLevel ¶
type LogLevel int
LogLevel is the priority of an event
type Logger ¶
type Logger interface { Log(level LogLevel, a ...interface{}) Logf(level LogLevel, format string, a ...interface{}) }
Logger records events of varying importance.
func NewConsoleLogger ¶
NewConsoleLogger records logs to the console: stdout if level >= LogInfo, otherwise stderr.
type Rereader ¶
type Rereader interface {
Next() (io.ReadCloser, error)
}
Rereader returns a new reader for the same source, allowing its stream to be "reread".
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
crypto
Package crypto provides tools for encrypting and decrypting data in fixed and stream formats, and for converting Ed25519 keys to X25519 keys.
|
Package crypto provides tools for encrypting and decrypting data in fixed and stream formats, and for converting Ed25519 keys to X25519 keys. |
Package storer implements an abstract key-value storage interface.
|
Package storer implements an abstract key-value storage interface. |
Click to show internal directories.
Click to hide internal directories.