Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileBase ¶
type FileBase struct {
// contains filtered or unexported fields
}
FileBase implements Provider interface using file system.
func (*FileBase) Create ¶
func (fb *FileBase) Create(ID string) (io.WriteCloser, error)
Create return WriteCloser interface for write the contents.
type Provider ¶
type Provider interface { Create(ID string) (io.WriteCloser, error) Open(ID string) (io.ReadCloser, error) }
Provider interface defines Blob Provider's Methods.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server structure implements BlobServiceServer.
func (*Server) Get ¶
func (s *Server) Get(req *blob.GetRequest, stream blob.BlobService_GetServer) error
Get handles get request from client.
Click to show internal directories.
Click to hide internal directories.