Versions in this module Expand all Collapse all v1 v1.0.0 Dec 31, 2021 Changes in this version + func GetServices() define.Restful + func NewLogger(name string) *logger + func Register(s ...define.IService) + func RegisterFuncName(rs *RPCXService, services define.Restful) error + type Discovery struct + Addr []string + BasePath string + UpdateInterval time.Duration + type RPCXService struct + Addr string + Env string + ErrorRobotToken string + Etcd *Discovery + GracefulRobotToken string + HostName string + LogDir string + Name string + Server *server.Server + SessionClient func() *redis.Client + SystemIP string + Version string + VersionKey string + func (s *RPCXService) Serve()