Versions in this module Expand all Collapse all v1 v1.0.1 Mar 12, 2020 Changes in this version + type ClusterService struct + ClusterService base.IClusterService + func (this *ClusterService) Configure(opts ...Option) + func (this *ClusterService) DefauleRpcRouteRules(stype string) (ss core.IServiceSession, err error) + func (this *ClusterService) Destroy() (err error) + func (this *ClusterService) GetCategory() core.S_Category + func (this *ClusterService) GetId() string + func (this *ClusterService) GetPreWeight() int32 + func (this *ClusterService) GetRpcId() string + func (this *ClusterService) GetSessionsByCategory(category core.S_Category) (ss []core.IServiceSession) + func (this *ClusterService) GetSettings() core.ServiceSttings + func (this *ClusterService) GetTag() string + func (this *ClusterService) GetType() string + func (this *ClusterService) GetVersion() int32 + func (this *ClusterService) GetWorkPath() string + func (this *ClusterService) Init(service core.IService) (err error) + func (this *ClusterService) InitSys() + func (this *ClusterService) Options() *Options + func (this *ClusterService) Register(id core.Rpc_Key, f interface{}) (err error) + func (this *ClusterService) RegisterGO(id core.Rpc_Key, f interface{}) (err error) + func (this *ClusterService) ReleaseRpc(rkey core.Rpc_Key, arg ...interface{}) + func (this *ClusterService) RpcInvokeById(sId string, rkey core.Rpc_Key, iscall bool, arg ...interface{}) (result interface{}, err error) + func (this *ClusterService) RpcInvokeByType(sType string, rkey core.Rpc_Key, iscall bool, arg ...interface{}) (result interface{}, err error) + func (this *ClusterService) Start() (err error) + func (this *ClusterService) Subscribe(id core.Rpc_Key, f interface{}) (err error) + func (this *ClusterService) UnSubscribe(id core.Rpc_Key, f interface{}) (err error) + func (this *ClusterService) WatcherServiceSession(sId string) + type Option func(*Options) + func SetCategory(v core.S_Category) Option + func SetDebugMode(v bool) Option + func SetId(v string) Option + func SetLogLvel(v log.Loglevel) Option + func SetRpcLog(v bool) Option + func SetTag(v string) Option + func SetType(v string) Option + func SetVersion(v int32) Option + func SetWorkPath(v string) Option + type Options struct + Category core.S_Category + Debugmode bool + Id string + LogLvel log.Loglevel + RpcLog bool + Setting core.ServiceSttings + Tag string + Type string + Version int32 + WorkPath string