Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComposeAuthRPCClient ¶
func ComposeAuthRPCClient(serviceCtx srvctx.ServiceContext) *authClient
ComposeAuthRPCClient use only for middleware: get token info
func ComposeUserGRPCService ¶
func ComposeUserGRPCService(serviceCtx srvctx.ServiceContext) pb.UserServiceServer
func ComposeUserSubscriber ¶
func ComposeUserSubscriber(serviceCtx srvctx.ServiceContext) *usersub.UserSub
Types ¶
type UserService ¶
type UserService interface {
GetUserById() func(c *gin.Context)
ListUser() func(c *gin.Context)
GetUserProfile() func(c *gin.Context)
UpdateUserData() func(c *gin.Context)
}
func ComposeUserAPIService ¶
func ComposeUserAPIService(serviceCtx srvctx.ServiceContext) UserService
Click to show internal directories.
Click to hide internal directories.