userservice

package
v0.0.0-...-31bde6b Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: EPL-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 RequestUser

type RequestUser = gotalk.RequestUser

type RequestWithSessionId

type RequestWithSessionId = gotalk.RequestWithSessionId

type RequestWithUserName

type RequestWithUserName = gotalk.RequestWithUserName

type ResponseUser

type ResponseUser = gotalk.ResponseUser

type ResponseUsers

type ResponseUsers = gotalk.ResponseUsers

type ResponseWithSessionId

type ResponseWithSessionId = gotalk.ResponseWithSessionId

type User

type User = gotalk.User

type UserService

type UserService interface {
	Users(ctx context.Context, in *RequestUser, opts ...grpc.CallOption) (*ResponseUsers, error)
	StartSession(ctx context.Context, in *RequestWithUserName, opts ...grpc.CallOption) (*ResponseWithSessionId, error)
	CloseSession(ctx context.Context, in *RequestWithSessionId, opts ...grpc.CallOption) (*ResponseUser, error)
}

func NewUserService

func NewUserService(cli zrpc.Client) UserService

Jump to

Keyboard shortcuts

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