usercomposer

package
v0.0.0-...-d64eb31 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2025 License: MIT Imports: 14 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL