Documentation ¶
Index ¶
- Variables
- func ParseAPIKeyConfig(Config string) map[string]TAPIKeyMetadata
- func ParseMongoConfig(Config string) map[string]TMongodbMetadata
- func ParseServiceConfig(Config string) map[string]TServiceMetadata
- type TAPIKeyMetadata
- type TConfigs
- type TMongodbMetadata
- type TRawConfig
- type TServiceMetadata
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MongoConf map[string]TMongodbMetadata SVCConf map[string]TServiceMetadata APIKeyConf map[string]TAPIKeyMetadata )
Functions ¶
func ParseAPIKeyConfig ¶
func ParseAPIKeyConfig(Config string) map[string]TAPIKeyMetadata
func ParseMongoConfig ¶
func ParseMongoConfig(Config string) map[string]TMongodbMetadata
func ParseServiceConfig ¶
func ParseServiceConfig(Config string) map[string]TServiceMetadata
Types ¶
type TAPIKeyMetadata ¶
type TConfigs ¶
type TConfigs struct { Kind string `json:"kind"` Metadata interface{} `json:"metadata"` }
type TMongodbMetadata ¶
type TRawConfig ¶
type TRawConfig struct {
Data []TConfigs `json:"data"`
}
Click to show internal directories.
Click to hide internal directories.