Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Level encoding.LogLevel TokenExpiry encoding.Duration Port int Host string Nodes NodesConfig RsaKey string Console ConsoleConfig }
func NewDefaultConfig ¶
func NewDefaultConfig() Config
NewDefaultConfig creates an instance of the package specific configuration, given a pointer to a logger instance to be used for logging within the package.
type ConsoleConfig ¶
type NodesConfig ¶
Click to show internal directories.
Click to hide internal directories.