grpc

package
v0.0.0-...-b938584 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserGRPCClient

type UserGRPCClient struct {
	gr.GRPC_Client
	// contains filtered or unexported fields
}

func NewUserGRPCClient

func NewUserGRPCClient(log logger.Logger, cfg *config.Config) *UserGRPCClient

func (*UserGRPCClient) GRPC_CreateUser

func (uc *UserGRPCClient) GRPC_CreateUser(c context.Context, createUserRequest *proto.CreateUserRequest) (*proto.CreateUserResponse, error)

func (*UserGRPCClient) GRPC_GetUser

func (uc *UserGRPCClient) GRPC_GetUser(c context.Context, getUserRequest *proto.GetUserRequest) (*proto.GetUserResponse, error)

func (*UserGRPCClient) GRPC_ListUsers

func (uc *UserGRPCClient) GRPC_ListUsers(c context.Context, listUsersRequest *proto.ListUsersRequest) (*proto.ListUsersResponse, error)

func (*UserGRPCClient) GRPC_LogOutUser

func (uc *UserGRPCClient) GRPC_LogOutUser(c context.Context, logOutRequest *proto.LogOutRequest) (*proto.LogOutResponse, error)

func (*UserGRPCClient) GRPC_LoginUser

func (uc *UserGRPCClient) GRPC_LoginUser(c context.Context, loginUserRequest *proto.LoginUserRequest) (*proto.LoginUserResponse, error)

func (*UserGRPCClient) GRPC_RefreshAccessToken

func (uc *UserGRPCClient) GRPC_RefreshAccessToken(c context.Context, refreshTokenRequest *proto.RefreshTokenRequest) (*proto.RefreshTokenResponse, error)

Jump to

Keyboard shortcuts

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