Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bootstrap ¶
func Bootstrap(configPath string) *context.ApplicationContext
func StartGozeApplication ¶
func StartGozeApplication(components ...interface{})
Types ¶
type Configuration ¶
type Configuration struct { Server RestConfiguration Cache RedisConfiguration MicroService MicroServiceConfiguration LoadBalance LoadBalanceConfiguration SQL SQLConfiguration }
type LoadBalanceConfiguration ¶
type LoadBalanceConfiguration struct { LoadBalanceRule balancer.LoadBalanceRule //Timeout for WRR Balancer http client WRRBalancerTimeout time.Duration }
type RedisConfiguration ¶
type RestConfiguration ¶
type SQLConfiguration ¶
Click to show internal directories.
Click to hide internal directories.