Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // port to start the grpc adapter on AdapterPort uint16 // JSON style logs Json bool // Log level - models zapcore.Level Level int8 // hashKeySize used to c. // It is recommended to use a key with 32 or 64 bytes. HashKeySize IntOptions // The blockKey is used to encrypt the cookie value // Valid lengths are 16, 24, or 32 bytes to select AES-128, AES-192, or AES-256. BlockKeySize IntOptions }
Config contains the
type IntOptions ¶
type IntOptions struct { // Options contains Enum of supported Integers Options map[int]struct{} // Value is the selected value from the enum map Value int }
IntOptions holds Integer configuration options as part of combra command line parameters
func (*IntOptions) Set ¶
func (o *IntOptions) Set(inp string) error
Set takes the user input validates it and stores it
func (*IntOptions) String ¶
func (o *IntOptions) String() string
String converts the core value to a string
func (*IntOptions) Type ¶
func (o *IntOptions) Type() string
Type returns the expected command line type the user must input as a string
Click to show internal directories.
Click to hide internal directories.