Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDataFactoryOr ¶
func GetDataFactoryOr(options *options.RegistryOptions) (data.DataFactory, error)
GetDataFactoryOr rpc的连接,基于服务发现
func NewDiscovery ¶
func NewDiscovery(opts *options.RegistryOptions) (registry.Discovery, error)
NewDiscovery 目前是基于consul实现的 以后想换成nocos etcd等 可以直接在这换
func NewUser ¶
func NewUser(uc upbv1.UserClient) *user
func NewUserServiceClient ¶
func NewUserServiceClient(r registry.Discovery) (upbv1.UserClient, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.