handler

package
v0.0.0-...-2af310e Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Space

type Space struct {
	// contains filtered or unexported fields
}

func NewSpace

func NewSpace(srv *service.Service) *Space

func (Space) Create

func (s Space) Create(ctx context.Context, request *pb.CreateRequest, response *pb.CreateResponse) error

func (Space) Delete

func (s Space) Delete(ctx context.Context, request *pb.DeleteRequest, response *pb.DeleteResponse) error

func (Space) DeleteData

func (s Space) DeleteData(ctx context.Context, request *adminpb.DeleteDataRequest, response *adminpb.DeleteDataResponse) error

func (*Space) Download

func (s *Space) Download(ctx context.Context, req *api.Request, rsp *api.Response) error

func (Space) Head

func (s Space) Head(ctx context.Context, request *pb.HeadRequest, response *pb.HeadResponse) error

func (Space) List

func (s Space) List(ctx context.Context, request *pb.ListRequest, response *pb.ListResponse) error

func (*Space) Read

func (s *Space) Read(ctx context.Context, req *pb.ReadRequest, rsp *pb.ReadResponse) error

func (Space) Update

func (s Space) Update(ctx context.Context, request *pb.UpdateRequest, response *pb.UpdateResponse) error

func (Space) Upload

func (s Space) Upload(ctx context.Context, request *pb.UploadRequest, response *pb.UploadResponse) error

func (*Space) Usage

func (s *Space) Usage(ctx context.Context, request *adminpb.UsageRequest, response *adminpb.UsageResponse) error

Jump to

Keyboard shortcuts

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