Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultAdminUser = "root" DefaultUser = "root" DefaultTTL = 15 * time.Second DefaultTokenMinTTL = time.Minute DefaultTokenMaxTTL = time.Hour DefaultTokenDefaultTTL = time.Hour DefaultMaxTokenSize = 64 )
View Source
const MaxSize = 128
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Configuration ¶
func NewConfiguration ¶
func NewConfiguration() Configuration
func (Configuration) Validate ¶
func (c Configuration) Validate() error
func (Configuration) With ¶
func (c Configuration) With(mods ...Mod) Configuration
type Mod ¶
type Mod func(c Configuration) Configuration
Click to show internal directories.
Click to hide internal directories.