service

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const MaxFileSize = 1 << 20

Variables

Functions

func CreateInitServerFn added in v0.0.24

func CreateInitServerFn(ps *Storage) rpc.InitServer

Types

type Storage

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

func NewStorage

func NewStorage(conf *config.AppConfig, rdb *redis.Client) *Storage

func (*Storage) UploadFile

func (s *Storage) UploadFile(stream pb.StorageSvc_UploadFileServer) error

Jump to

Keyboard shortcuts

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