Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Address 监听地址 Address string = ":8000" // Network 网络通信协议 Network string = "tcp" )
Variables ¶
This section is empty.
Functions ¶
func ListObject ¶
func ListObject()
func PathValidate ¶
func PathValidate(path string)
Types ¶
type PlainStore ¶
type PlainStore struct {
// contains filtered or unexported fields
}
func (*PlainStore) CreateObject ¶
func (store *PlainStore) CreateObject(obj Object) error
func (*PlainStore) DeleteObject ¶
func (store *PlainStore) DeleteObject(obj Object) error
func (*PlainStore) ListObject ¶
func (store *PlainStore) ListObject() error
func (*PlainStore) ReadObject ¶
func (store *PlainStore) ReadObject() error
func (*PlainStore) WriteObject ¶
func (store *PlainStore) WriteObject() error
type Store ¶
type VolumeService ¶
type VolumeService struct {
// contains filtered or unexported fields
}
func NewVolumeService ¶
func NewVolumeService() *VolumeService
func (*VolumeService) Upload ¶
func (vs *VolumeService) Upload(srv pb.VolumeService_UploadServer) error
Click to show internal directories.
Click to hide internal directories.