Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallWrapper ¶
type ConsumerServer ¶
type CronServer ¶
type DBConfig ¶
type DBConfig struct { SlaveDSN string `json:"slave_dsn"` MasterDSN string `json:"master_dsn"` DirSchema string `json:"dir_schema"` MaxOpenConn int `json:"max_open_conn"` MaxIdleConn int `json:"max_idle_conn"` ConnectionMaxLifetime time.Duration `json:"connection_max_lifetime"` TimeoutExceededInMinutes int `json:"timeout_exceeded_in_minutes"` }
type GrpcServer ¶
type RestServer ¶
type ServiceConfig ¶
type ServiceConfig struct { RestServer RestServer GrpcServer GrpcServer CronServer CronServer ConsumerServer ConsumerServer Databases map[string]*DBConfig Toggle map[string]*Toggle External map[string]*External CallWrapper map[string]*CallWrapper Scheduler map[string]*Scheduler Firestore map[string]*Firestore PubSub map[string]*PubSub CORS CORS Redis Redis JWT JWT }
func (*ServiceConfig) ReadConfig ¶
func (serviceConfig *ServiceConfig) ReadConfig(module string)
ReadConfig read config file .ini
Click to show internal directories.
Click to hide internal directories.