Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RpcCliMap sync.Map
Functions ¶
func InjectHelloCli ¶
func InjectHelloCli(s *HelloCli)
func LoadHelloCli ¶
func LoadHelloCli() baseiface.ISingleton
Types ¶
type GorpcCli ¶
type GorpcCli[S any] struct { RpcServiceName string FuncNew func(name string, c client.Client) S // contains filtered or unexported fields }
func NewGorpcCli ¶
func (*GorpcCli[S]) SetRpcClient ¶
func (g *GorpcCli[S]) SetRpcClient(rpcClient S)
type HelloCli ¶
type HelloCli struct { basedto.BaseEntitySingle *GorpcCli[proto.HelloYeahService] }
func NewHelloCli ¶
func NewHelloCli() *HelloCli
Click to show internal directories.
Click to hide internal directories.