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 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
Click to show internal directories.
Click to hide internal directories.