Documentation ¶
Index ¶
Constants ¶
View Source
const MaxFileSize = 1 << 20
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewStorage, CreateInitServerFn)
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 (*Storage) UploadFile ¶
func (s *Storage) UploadFile(stream pb.StorageSvc_UploadFileServer) error
Click to show internal directories.
Click to hide internal directories.