Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { GRPC string `json:"grpc"` // GRPC endpoint hosting all GRPC services A1UserData string `json:"a1_user_data"` A1UserRolesData string `json:"a1_user_roles_data"` Logger Logger `json:"logger"` Users Users `json:"users"` //!\\ only one users adapter TeamsAddress string `json:"teams_address"` AuthzAddress string `json:"authz_address"` certs.TLSConfig `json:"tls"` }
Config is the config format for the main application.
type Logger ¶
type Logger struct { // Level sets logging level severity. Level string `json:"level"` // Format specifies the format to be used for logging. Format string `json:"format"` }
Logger holds configuration required to customize logging
type Users ¶
type Users struct { Type string `json:"type"` Config server.UsersConfig `json:"config"` }
Users is the type for "magically" unmarshalling users-adapter configs
func (*Users) UnmarshalJSON ¶
UnmarshalJSON allows Users to implement the unmarshaler interface to dynamically determine the type of the users config.
Click to show internal directories.
Click to hide internal directories.