Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Module( "rpc_services", fx.Provide(NewUserService), fx.Provide(NewServices), )
Functions ¶
This section is empty.
Types ¶
type Services ¶
type Services []Service
func NewServices ¶
func NewServices(userService UserService) Services
type UserService ¶
type UserService struct { protos.UnimplementedUsersServer // contains filtered or unexported fields }
func NewUserService ¶
func NewUserService(handler lib.RpcHandler) UserService
func (UserService) ListUser ¶
func (s UserService) ListUser(ctx context.Context, in *protos.ListUserIn) (*protos.ListUserOut, error)
func (UserService) Setup ¶
func (s UserService) Setup()
Click to show internal directories.
Click to hide internal directories.