Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Duration ¶
Duration is a wrapper type that parses time duration from text.
func NewDuration ¶
NewDuration returns Duration wrapper
func (Duration) JSONSchema ¶
func (Duration) JSONSchema() *jsonschema.Schema
JSONSchema returns a custom schema to be used for the JSON Schema generation of this type
func (Duration) MarshalJSON ¶
MarshalJSON marshalls time duration into text.
func (*Duration) MarshalText ¶
MarshalText marshalls time duration into text.
func (*Duration) UnmarshalText ¶
UnmarshalText unmarshalls time duration from text.
type KeystoreFileConfig ¶
type KeystoreFileConfig struct { // Path is the file path for the key store file Path string `mapstructure:"Path"` // Password is the password to decrypt the key store file Password string `mapstructure:"Password"` }
KeystoreFileConfig has all the information needed to load a private key from a key store file
Click to show internal directories.
Click to hide internal directories.