usersrv

package
v0.0.0-...-38e0f1f Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoginRequest

type LoginRequest = pb.LoginRequest

type LoginResponse

type LoginResponse = pb.LoginResponse

type RegisterRequest

type RegisterRequest = pb.RegisterRequest

type RegisterResponse

type RegisterResponse = pb.RegisterResponse

type UserInfo

type UserInfo = pb.UserInfo

type UserSrv

type UserSrv interface {
	Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error)
	Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error)
}

func NewUserSrv

func NewUserSrv(cli zrpc.Client) UserSrv

Jump to

Keyboard shortcuts

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