Documentation ¶
Index ¶
Constants ¶
View Source
const (
AppName = "Conf"
)
Variables ¶
View Source
var Conf = &Config{}
Functions ¶
Types ¶
type Config ¶
type Config struct { GrpcServer *GrpcServer MongoClient *mongo.Client EtcdClient *clientv3.Client RedisClient *redis.Client }
type GrpcServer ¶
type GrpcServer struct { MetricManageSvc *MetricManageSvc `toml:"MetricManageSvc"` ServiceManageSvc *ServiceManageSvc `toml:"ServiceManageSvc"` }
func (*GrpcServer) Load ¶
func (g *GrpcServer) Load(projectRoot string) (*GrpcServer, error)
type MetricManageSvc ¶
type MongoDB ¶
type ServiceManageSvc ¶
Click to show internal directories.
Click to hide internal directories.