Documentation ¶
Overview ¶
Package config contains the configuration used by the server
Index ¶
- type APIConfiguration
- type AppdashConfiguration
- type AuthConfiguration
- type BadgerConfiguration
- type BoltDBConfiguration
- type Configuration
- type JaegerConfiguration
- type LevelDBConfiguration
- type MongoDBConfiguration
- type RedisConfiguration
- type StorageConfiguration
- type TracingConfiguration
- type VaultConfiguration
- type ZipkinConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIConfiguration ¶
APIConfiguration defines the configuration for the gRPC and REST api
type AppdashConfiguration ¶
type AuthConfiguration ¶
type AuthConfiguration struct { Name string Vault *VaultConfiguration }
type BadgerConfiguration ¶
type BadgerConfiguration struct {
Path string
}
type BoltDBConfiguration ¶
BoltDBConfiguration defines the configuration for BoltDB storage backend
type Configuration ¶
type Configuration struct { API *APIConfiguration Tracing *TracingConfiguration Storage *StorageConfiguration Auth *AuthConfiguration }
Configuration holds configuration for Enigma.
func LoadFileConfig ¶
func LoadFileConfig(file string) (*Configuration, error)
LoadFileConfig returns a Configuration from reading the specified file (a toml file).
type JaegerConfiguration ¶
type LevelDBConfiguration ¶
type LevelDBConfiguration struct {
Path string
}
type MongoDBConfiguration ¶
type RedisConfiguration ¶
type StorageConfiguration ¶
type StorageConfiguration struct { Name string BoltDB *BoltDBConfiguration LevelDB *LevelDBConfiguration Redis *RedisConfiguration MongoDB *MongoDBConfiguration Badger *BadgerConfiguration }
type TracingConfiguration ¶
type TracingConfiguration struct { Name string Zipkin *ZipkinConfiguration Appdash *AppdashConfiguration Jaeger *JaegerConfiguration }
TracingConfiguration defines the OpenTracing usage
type VaultConfiguration ¶
type ZipkinConfiguration ¶
Click to show internal directories.
Click to hide internal directories.