Documentation ¶
Index ¶
- Variables
- func CreateInitServersFn(fs *FilesServer) grpc.InitServers
- type FilesServer
- func (f FilesServer) CreateDirectory(ctx context.Context, req *proto.CreateDirectoryRequest) (res *proto.CreateDirectoryResponse, err error)
- func (f FilesServer) CreateFile(ctx context.Context, req *proto.CreateFileRequest) (res *proto.CreateFileResponse, err error)
- func (f FilesServer) CreateFileSpace(ctx context.Context, req *proto.CreateFileSpaceRequest) (res *proto.CreateFileSpaceResponse, err error)
- func (f FilesServer) FetchFile(ctx context.Context, req *proto.FetchFileRequest) (res *proto.FetchFileResponse, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewFilesServer, CreateInitServersFn)
Functions ¶
func CreateInitServersFn ¶
func CreateInitServersFn( fs *FilesServer, ) grpc.InitServers
Types ¶
type FilesServer ¶
type FilesServer struct {
// contains filtered or unexported fields
}
func CreateFilesServer ¶
func CreateFilesServer(cf string, service services.FilesService) (*FilesServer, error)
func NewFilesServer ¶
func NewFilesServer(logger *zap.Logger, fs services.FilesService) (*FilesServer, error)
func (FilesServer) CreateDirectory ¶
func (f FilesServer) CreateDirectory(ctx context.Context, req *proto.CreateDirectoryRequest) (res *proto.CreateDirectoryResponse, err error)
func (FilesServer) CreateFile ¶
func (f FilesServer) CreateFile(ctx context.Context, req *proto.CreateFileRequest) (res *proto.CreateFileResponse, err error)
func (FilesServer) CreateFileSpace ¶
func (f FilesServer) CreateFileSpace(ctx context.Context, req *proto.CreateFileSpaceRequest) (res *proto.CreateFileSpaceResponse, err error)
func (FilesServer) FetchFile ¶
func (f FilesServer) FetchFile(ctx context.Context, req *proto.FetchFileRequest) (res *proto.FetchFileResponse, err error)
Click to show internal directories.
Click to hide internal directories.