impl

package
v0.0.0-...-e03ad2d Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2022 License: GPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CDNServiceImpl

type CDNServiceImpl struct {
	pb.UnimplementedCDNGrpcServiceServer
	// contains filtered or unexported fields
}

func NewCDNService

func NewCDNService(c *config.Config, secure bool) (*CDNServiceImpl, error)

func (CDNServiceImpl) CreateBucket

func (c CDNServiceImpl) CreateBucket(ctx context.Context, req *pb.BucketName) (*pb.CreateBucketResponse, error)

func (CDNServiceImpl) DeleteBucket

func (c CDNServiceImpl) DeleteBucket(ctx context.Context, req *pb.BucketName) (*emptypb.Empty, error)

func (CDNServiceImpl) DeleteFile

func (c CDNServiceImpl) DeleteFile(ctx context.Context, req *pb.DeleteFileRequest) (*emptypb.Empty, error)

func (CDNServiceImpl) DownloadFile

func (CDNServiceImpl) GetFilesFromBucket

func (c CDNServiceImpl) GetFilesFromBucket(ctx context.Context, req *pb.BucketName) (*pb.FileArray, error)

func (*CDNServiceImpl) Run

func (cdn *CDNServiceImpl) Run()

func (CDNServiceImpl) SearchFiles

func (c CDNServiceImpl) SearchFiles(ctx context.Context, req *pb.SearchRequest) (*pb.FileArray, error)

func (CDNServiceImpl) UploadFile

Jump to

Keyboard shortcuts

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