grpc_service

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UploadService

type UploadService struct {
	proto.UnimplementedUploadServiceServer
	// contains filtered or unexported fields
}

func NewUploadService

func NewUploadService(ctx context.Context) UploadService

func (UploadService) UploadFile

func (svc UploadService) UploadFile(ctx context.Context, r *proto.UploadRequest) (*proto.UploadReply, error)

type UserService

type UserService struct {
	proto.UnimplementedUserServiceServer
	// contains filtered or unexported fields
}

func NewUserService

func NewUserService(ctx context.Context) UserService

func (UserService) EditUser

func (UserService) GetUser

func (UserService) Login

func (UserService) Register

func (UserService) UpdateUserCache

func (svc UserService) UpdateUserCache(username string) error

func (UserService) UserAuth

func (svc UserService) UserAuth(sessionID string) (string, error)

Jump to

Keyboard shortcuts

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