Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterAlistHTTPServer(s *http.Server, srv AlistHTTPServer)
- func RegisterAlistServer(s grpc.ServiceRegistrar, srv AlistServer)
- type AlistClient
- type AlistHTTPClient
- type AlistHTTPClientImpl
- func (c *AlistHTTPClientImpl) FsGet(ctx context.Context, in *FsGetReq, opts ...http.CallOption) (*FsGetResp, error)
- func (c *AlistHTTPClientImpl) FsList(ctx context.Context, in *FsListReq, opts ...http.CallOption) (*FsListResp, error)
- func (c *AlistHTTPClientImpl) FsOther(ctx context.Context, in *FsOtherReq, opts ...http.CallOption) (*FsOtherResp, error)
- func (c *AlistHTTPClientImpl) FsSearch(ctx context.Context, in *FsSearchReq, opts ...http.CallOption) (*FsSearchResp, error)
- func (c *AlistHTTPClientImpl) Login(ctx context.Context, in *LoginReq, opts ...http.CallOption) (*LoginResp, error)
- func (c *AlistHTTPClientImpl) Me(ctx context.Context, in *MeReq, opts ...http.CallOption) (*MeResp, error)
- type AlistHTTPServer
- type AlistServer
- type FsGetReq
- func (*FsGetReq) Descriptor() ([]byte, []int)deprecated
- func (x *FsGetReq) GetHost() string
- func (x *FsGetReq) GetPassword() string
- func (x *FsGetReq) GetPath() string
- func (x *FsGetReq) GetToken() string
- func (x *FsGetReq) GetUserAgent() string
- func (*FsGetReq) ProtoMessage()
- func (x *FsGetReq) ProtoReflect() protoreflect.Message
- func (x *FsGetReq) Reset()
- func (x *FsGetReq) String() string
- type FsGetResp
- func (*FsGetResp) Descriptor() ([]byte, []int)deprecated
- func (x *FsGetResp) GetCreated() uint64
- func (x *FsGetResp) GetHashinfo() string
- func (x *FsGetResp) GetIsDir() bool
- func (x *FsGetResp) GetModified() uint64
- func (x *FsGetResp) GetName() string
- func (x *FsGetResp) GetProvider() string
- func (x *FsGetResp) GetRawUrl() string
- func (x *FsGetResp) GetReadme() string
- func (x *FsGetResp) GetRelated() []*FsGetResp_FsGetRelated
- func (x *FsGetResp) GetSign() string
- func (x *FsGetResp) GetSize() uint64
- func (x *FsGetResp) GetThumb() string
- func (x *FsGetResp) GetType() uint64
- func (*FsGetResp) ProtoMessage()
- func (x *FsGetResp) ProtoReflect() protoreflect.Message
- func (x *FsGetResp) Reset()
- func (x *FsGetResp) String() string
- type FsGetResp_FsGetRelated
- func (*FsGetResp_FsGetRelated) Descriptor() ([]byte, []int)deprecated
- func (x *FsGetResp_FsGetRelated) GetCreated() uint64
- func (x *FsGetResp_FsGetRelated) GetHashinfo() string
- func (x *FsGetResp_FsGetRelated) GetIsDir() bool
- func (x *FsGetResp_FsGetRelated) GetModified() uint64
- func (x *FsGetResp_FsGetRelated) GetName() string
- func (x *FsGetResp_FsGetRelated) GetSign() string
- func (x *FsGetResp_FsGetRelated) GetSize() uint64
- func (x *FsGetResp_FsGetRelated) GetThumb() string
- func (x *FsGetResp_FsGetRelated) GetType() uint64
- func (*FsGetResp_FsGetRelated) ProtoMessage()
- func (x *FsGetResp_FsGetRelated) ProtoReflect() protoreflect.Message
- func (x *FsGetResp_FsGetRelated) Reset()
- func (x *FsGetResp_FsGetRelated) String() string
- type FsListReq
- func (*FsListReq) Descriptor() ([]byte, []int)deprecated
- func (x *FsListReq) GetHost() string
- func (x *FsListReq) GetPage() uint64
- func (x *FsListReq) GetPassword() string
- func (x *FsListReq) GetPath() string
- func (x *FsListReq) GetPerPage() uint64
- func (x *FsListReq) GetRefresh() bool
- func (x *FsListReq) GetToken() string
- func (*FsListReq) ProtoMessage()
- func (x *FsListReq) ProtoReflect() protoreflect.Message
- func (x *FsListReq) Reset()
- func (x *FsListReq) String() string
- type FsListResp
- func (*FsListResp) Descriptor() ([]byte, []int)deprecated
- func (x *FsListResp) GetContent() []*FsListResp_FsListContent
- func (x *FsListResp) GetProvider() string
- func (x *FsListResp) GetReadme() string
- func (x *FsListResp) GetTotal() uint64
- func (x *FsListResp) GetWrite() bool
- func (*FsListResp) ProtoMessage()
- func (x *FsListResp) ProtoReflect() protoreflect.Message
- func (x *FsListResp) Reset()
- func (x *FsListResp) String() string
- type FsListResp_FsListContent
- func (*FsListResp_FsListContent) Descriptor() ([]byte, []int)deprecated
- func (x *FsListResp_FsListContent) GetIsDir() bool
- func (x *FsListResp_FsListContent) GetModified() uint64
- func (x *FsListResp_FsListContent) GetName() string
- func (x *FsListResp_FsListContent) GetSign() string
- func (x *FsListResp_FsListContent) GetSize() uint64
- func (x *FsListResp_FsListContent) GetThumb() string
- func (x *FsListResp_FsListContent) GetType() uint64
- func (*FsListResp_FsListContent) ProtoMessage()
- func (x *FsListResp_FsListContent) ProtoReflect() protoreflect.Message
- func (x *FsListResp_FsListContent) Reset()
- func (x *FsListResp_FsListContent) String() string
- type FsOtherReq
- func (*FsOtherReq) Descriptor() ([]byte, []int)deprecated
- func (x *FsOtherReq) GetHost() string
- func (x *FsOtherReq) GetMethod() string
- func (x *FsOtherReq) GetPassword() string
- func (x *FsOtherReq) GetPath() string
- func (x *FsOtherReq) GetToken() string
- func (*FsOtherReq) ProtoMessage()
- func (x *FsOtherReq) ProtoReflect() protoreflect.Message
- func (x *FsOtherReq) Reset()
- func (x *FsOtherReq) String() string
- type FsOtherResp
- func (*FsOtherResp) Descriptor() ([]byte, []int)deprecated
- func (x *FsOtherResp) GetDriveId() string
- func (x *FsOtherResp) GetFileId() string
- func (x *FsOtherResp) GetVideoPreviewPlayInfo() *FsOtherResp_VideoPreviewPlayInfo
- func (*FsOtherResp) ProtoMessage()
- func (x *FsOtherResp) ProtoReflect() protoreflect.Message
- func (x *FsOtherResp) Reset()
- func (x *FsOtherResp) String() string
- type FsOtherResp_VideoPreviewPlayInfo
- func (*FsOtherResp_VideoPreviewPlayInfo) Descriptor() ([]byte, []int)deprecated
- func (x *FsOtherResp_VideoPreviewPlayInfo) GetCategory() string
- func (x *FsOtherResp_VideoPreviewPlayInfo) GetLiveTranscodingSubtitleTaskList() []*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList
- func (x *FsOtherResp_VideoPreviewPlayInfo) GetLiveTranscodingTaskList() []*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList
- func (x *FsOtherResp_VideoPreviewPlayInfo) GetMeta() *FsOtherResp_VideoPreviewPlayInfo_Meta
- func (*FsOtherResp_VideoPreviewPlayInfo) ProtoMessage()
- func (x *FsOtherResp_VideoPreviewPlayInfo) ProtoReflect() protoreflect.Message
- func (x *FsOtherResp_VideoPreviewPlayInfo) Reset()
- func (x *FsOtherResp_VideoPreviewPlayInfo) String() string
- type FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList
- func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList) Descriptor() ([]byte, []int)deprecated
- func (x *FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList) GetLanguage() string
- func (x *FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList) GetStatus() string
- func (x *FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList) GetUrl() string
- func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList) ProtoMessage()
- func (x *FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList) ProtoReflect() protoreflect.Message
- func (x *FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList) Reset()
- func (x *FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList) String() string
- type FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList
- func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) Descriptor() ([]byte, []int)deprecated
- func (x *FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) GetStage() string
- func (x *FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) GetStatus() string
- func (x *FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) GetTemplateHeight() uint64
- func (x *FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) GetTemplateId() string
- func (x *FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) GetTemplateName() string
- func (x *FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) GetTemplateWidth() uint64
- func (x *FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) GetUrl() string
- func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) ProtoMessage()
- func (x *FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) ProtoReflect() protoreflect.Message
- func (x *FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) Reset()
- func (x *FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) String() string
- type FsOtherResp_VideoPreviewPlayInfo_Meta
- func (*FsOtherResp_VideoPreviewPlayInfo_Meta) Descriptor() ([]byte, []int)deprecated
- func (x *FsOtherResp_VideoPreviewPlayInfo_Meta) GetDuration() float64
- func (x *FsOtherResp_VideoPreviewPlayInfo_Meta) GetHeight() uint64
- func (x *FsOtherResp_VideoPreviewPlayInfo_Meta) GetWidth() uint64
- func (*FsOtherResp_VideoPreviewPlayInfo_Meta) ProtoMessage()
- func (x *FsOtherResp_VideoPreviewPlayInfo_Meta) ProtoReflect() protoreflect.Message
- func (x *FsOtherResp_VideoPreviewPlayInfo_Meta) Reset()
- func (x *FsOtherResp_VideoPreviewPlayInfo_Meta) String() string
- type FsSearchReq
- func (*FsSearchReq) Descriptor() ([]byte, []int)deprecated
- func (x *FsSearchReq) GetHost() string
- func (x *FsSearchReq) GetKeywords() string
- func (x *FsSearchReq) GetPage() uint64
- func (x *FsSearchReq) GetParent() string
- func (x *FsSearchReq) GetPassword() string
- func (x *FsSearchReq) GetPerPage() uint64
- func (x *FsSearchReq) GetScope() uint64
- func (x *FsSearchReq) GetToken() string
- func (*FsSearchReq) ProtoMessage()
- func (x *FsSearchReq) ProtoReflect() protoreflect.Message
- func (x *FsSearchReq) Reset()
- func (x *FsSearchReq) String() string
- type FsSearchResp
- func (*FsSearchResp) Descriptor() ([]byte, []int)deprecated
- func (x *FsSearchResp) GetContent() []*FsSearchResp_FsSearchContent
- func (x *FsSearchResp) GetTotal() uint64
- func (*FsSearchResp) ProtoMessage()
- func (x *FsSearchResp) ProtoReflect() protoreflect.Message
- func (x *FsSearchResp) Reset()
- func (x *FsSearchResp) String() string
- type FsSearchResp_FsSearchContent
- func (*FsSearchResp_FsSearchContent) Descriptor() ([]byte, []int)deprecated
- func (x *FsSearchResp_FsSearchContent) GetIsDir() bool
- func (x *FsSearchResp_FsSearchContent) GetName() string
- func (x *FsSearchResp_FsSearchContent) GetParent() string
- func (x *FsSearchResp_FsSearchContent) GetSize() uint64
- func (x *FsSearchResp_FsSearchContent) GetType() uint64
- func (*FsSearchResp_FsSearchContent) ProtoMessage()
- func (x *FsSearchResp_FsSearchContent) ProtoReflect() protoreflect.Message
- func (x *FsSearchResp_FsSearchContent) Reset()
- func (x *FsSearchResp_FsSearchContent) String() string
- type LoginReq
- func (*LoginReq) Descriptor() ([]byte, []int)deprecated
- func (x *LoginReq) GetHashed() bool
- func (x *LoginReq) GetHost() string
- func (x *LoginReq) GetPassword() string
- func (x *LoginReq) GetUsername() string
- func (*LoginReq) ProtoMessage()
- func (x *LoginReq) ProtoReflect() protoreflect.Message
- func (x *LoginReq) Reset()
- func (x *LoginReq) String() string
- type LoginResp
- type MeReq
- type MeResp
- func (*MeResp) Descriptor() ([]byte, []int)deprecated
- func (x *MeResp) GetBasePath() string
- func (x *MeResp) GetDisabled() bool
- func (x *MeResp) GetId() uint64
- func (x *MeResp) GetOtp() bool
- func (x *MeResp) GetPassword() string
- func (x *MeResp) GetPermission() uint64
- func (x *MeResp) GetRole() uint64
- func (x *MeResp) GetSsoId() string
- func (x *MeResp) GetUsername() string
- func (*MeResp) ProtoMessage()
- func (x *MeResp) ProtoReflect() protoreflect.Message
- func (x *MeResp) Reset()
- func (x *MeResp) String() string
- type UnimplementedAlistServer
- func (UnimplementedAlistServer) FsGet(context.Context, *FsGetReq) (*FsGetResp, error)
- func (UnimplementedAlistServer) FsList(context.Context, *FsListReq) (*FsListResp, error)
- func (UnimplementedAlistServer) FsOther(context.Context, *FsOtherReq) (*FsOtherResp, error)
- func (UnimplementedAlistServer) FsSearch(context.Context, *FsSearchReq) (*FsSearchResp, error)
- func (UnimplementedAlistServer) Login(context.Context, *LoginReq) (*LoginResp, error)
- func (UnimplementedAlistServer) Me(context.Context, *MeReq) (*MeResp, error)
- type UnsafeAlistServer
Constants ¶
const ( Alist_Login_FullMethodName = "/api.alist.Alist/Login" Alist_Me_FullMethodName = "/api.alist.Alist/Me" Alist_FsGet_FullMethodName = "/api.alist.Alist/FsGet" Alist_FsList_FullMethodName = "/api.alist.Alist/FsList" Alist_FsOther_FullMethodName = "/api.alist.Alist/FsOther" Alist_FsSearch_FullMethodName = "/api.alist.Alist/FsSearch" )
const OperationAlistFsGet = "/api.alist.Alist/FsGet"
const OperationAlistFsList = "/api.alist.Alist/FsList"
const OperationAlistFsOther = "/api.alist.Alist/FsOther"
const OperationAlistFsSearch = "/api.alist.Alist/FsSearch"
const OperationAlistLogin = "/api.alist.Alist/Login"
const OperationAlistMe = "/api.alist.Alist/Me"
Variables ¶
var Alist_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.alist.Alist", HandlerType: (*AlistServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Login", Handler: _Alist_Login_Handler, }, { MethodName: "Me", Handler: _Alist_Me_Handler, }, { MethodName: "FsGet", Handler: _Alist_FsGet_Handler, }, { MethodName: "FsList", Handler: _Alist_FsList_Handler, }, { MethodName: "FsOther", Handler: _Alist_FsOther_Handler, }, { MethodName: "FsSearch", Handler: _Alist_FsSearch_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "alist/alist.proto", }
Alist_ServiceDesc is the grpc.ServiceDesc for Alist service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_alist_alist_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAlistHTTPServer ¶
func RegisterAlistHTTPServer(s *http.Server, srv AlistHTTPServer)
func RegisterAlistServer ¶
func RegisterAlistServer(s grpc.ServiceRegistrar, srv AlistServer)
Types ¶
type AlistClient ¶
type AlistClient interface { Login(ctx context.Context, in *LoginReq, opts ...grpc.CallOption) (*LoginResp, error) Me(ctx context.Context, in *MeReq, opts ...grpc.CallOption) (*MeResp, error) FsGet(ctx context.Context, in *FsGetReq, opts ...grpc.CallOption) (*FsGetResp, error) FsList(ctx context.Context, in *FsListReq, opts ...grpc.CallOption) (*FsListResp, error) FsOther(ctx context.Context, in *FsOtherReq, opts ...grpc.CallOption) (*FsOtherResp, error) FsSearch(ctx context.Context, in *FsSearchReq, opts ...grpc.CallOption) (*FsSearchResp, error) }
AlistClient is the client API for Alist service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAlistClient ¶
func NewAlistClient(cc grpc.ClientConnInterface) AlistClient
type AlistHTTPClient ¶
type AlistHTTPClient interface { FsGet(ctx context.Context, req *FsGetReq, opts ...http.CallOption) (rsp *FsGetResp, err error) FsList(ctx context.Context, req *FsListReq, opts ...http.CallOption) (rsp *FsListResp, err error) FsOther(ctx context.Context, req *FsOtherReq, opts ...http.CallOption) (rsp *FsOtherResp, err error) FsSearch(ctx context.Context, req *FsSearchReq, opts ...http.CallOption) (rsp *FsSearchResp, err error) Login(ctx context.Context, req *LoginReq, opts ...http.CallOption) (rsp *LoginResp, err error) Me(ctx context.Context, req *MeReq, opts ...http.CallOption) (rsp *MeResp, err error) }
func NewAlistHTTPClient ¶
func NewAlistHTTPClient(client *http.Client) AlistHTTPClient
type AlistHTTPClientImpl ¶
type AlistHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*AlistHTTPClientImpl) FsGet ¶
func (c *AlistHTTPClientImpl) FsGet(ctx context.Context, in *FsGetReq, opts ...http.CallOption) (*FsGetResp, error)
func (*AlistHTTPClientImpl) FsList ¶
func (c *AlistHTTPClientImpl) FsList(ctx context.Context, in *FsListReq, opts ...http.CallOption) (*FsListResp, error)
func (*AlistHTTPClientImpl) FsOther ¶
func (c *AlistHTTPClientImpl) FsOther(ctx context.Context, in *FsOtherReq, opts ...http.CallOption) (*FsOtherResp, error)
func (*AlistHTTPClientImpl) FsSearch ¶ added in v0.3.2
func (c *AlistHTTPClientImpl) FsSearch(ctx context.Context, in *FsSearchReq, opts ...http.CallOption) (*FsSearchResp, error)
func (*AlistHTTPClientImpl) Login ¶
func (c *AlistHTTPClientImpl) Login(ctx context.Context, in *LoginReq, opts ...http.CallOption) (*LoginResp, error)
func (*AlistHTTPClientImpl) Me ¶
func (c *AlistHTTPClientImpl) Me(ctx context.Context, in *MeReq, opts ...http.CallOption) (*MeResp, error)
type AlistHTTPServer ¶
type AlistHTTPServer interface { FsGet(context.Context, *FsGetReq) (*FsGetResp, error) FsList(context.Context, *FsListReq) (*FsListResp, error) FsOther(context.Context, *FsOtherReq) (*FsOtherResp, error) FsSearch(context.Context, *FsSearchReq) (*FsSearchResp, error) Login(context.Context, *LoginReq) (*LoginResp, error) Me(context.Context, *MeReq) (*MeResp, error) }
type AlistServer ¶
type AlistServer interface { Login(context.Context, *LoginReq) (*LoginResp, error) Me(context.Context, *MeReq) (*MeResp, error) FsGet(context.Context, *FsGetReq) (*FsGetResp, error) FsList(context.Context, *FsListReq) (*FsListResp, error) FsOther(context.Context, *FsOtherReq) (*FsOtherResp, error) FsSearch(context.Context, *FsSearchReq) (*FsSearchResp, error) // contains filtered or unexported methods }
AlistServer is the server API for Alist service. All implementations must embed UnimplementedAlistServer for forward compatibility
type FsGetReq ¶
type FsGetReq struct { Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` UserAgent string `protobuf:"bytes,5,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"` // contains filtered or unexported fields }
func (*FsGetReq) Descriptor
deprecated
func (*FsGetReq) GetPassword ¶
func (*FsGetReq) GetUserAgent ¶ added in v0.3.3
func (*FsGetReq) ProtoMessage ¶
func (*FsGetReq) ProtoMessage()
func (*FsGetReq) ProtoReflect ¶
func (x *FsGetReq) ProtoReflect() protoreflect.Message
type FsGetResp ¶
type FsGetResp struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Size uint64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` IsDir bool `protobuf:"varint,3,opt,name=isDir,proto3" json:"isDir,omitempty"` Modified uint64 `protobuf:"varint,4,opt,name=modified,proto3" json:"modified,omitempty"` Created uint64 `protobuf:"varint,5,opt,name=created,proto3" json:"created,omitempty"` Sign string `protobuf:"bytes,6,opt,name=sign,proto3" json:"sign,omitempty"` Thumb string `protobuf:"bytes,7,opt,name=thumb,proto3" json:"thumb,omitempty"` Type uint64 `protobuf:"varint,8,opt,name=type,proto3" json:"type,omitempty"` Hashinfo string `protobuf:"bytes,9,opt,name=hashinfo,proto3" json:"hashinfo,omitempty"` RawUrl string `protobuf:"bytes,10,opt,name=rawUrl,proto3" json:"rawUrl,omitempty"` Readme string `protobuf:"bytes,11,opt,name=readme,proto3" json:"readme,omitempty"` Provider string `protobuf:"bytes,12,opt,name=provider,proto3" json:"provider,omitempty"` Related []*FsGetResp_FsGetRelated `protobuf:"bytes,13,rep,name=related,proto3" json:"related,omitempty"` // contains filtered or unexported fields }
func (*FsGetResp) Descriptor
deprecated
func (*FsGetResp) GetCreated ¶
func (*FsGetResp) GetHashinfo ¶
func (*FsGetResp) GetModified ¶
func (*FsGetResp) GetProvider ¶
func (*FsGetResp) GetRelated ¶ added in v0.3.3
func (x *FsGetResp) GetRelated() []*FsGetResp_FsGetRelated
func (*FsGetResp) ProtoMessage ¶
func (*FsGetResp) ProtoMessage()
func (*FsGetResp) ProtoReflect ¶
func (x *FsGetResp) ProtoReflect() protoreflect.Message
type FsGetResp_FsGetRelated ¶ added in v0.3.3
type FsGetResp_FsGetRelated struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Size uint64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` IsDir bool `protobuf:"varint,3,opt,name=isDir,proto3" json:"isDir,omitempty"` Modified uint64 `protobuf:"varint,4,opt,name=modified,proto3" json:"modified,omitempty"` Created uint64 `protobuf:"varint,5,opt,name=created,proto3" json:"created,omitempty"` Sign string `protobuf:"bytes,6,opt,name=sign,proto3" json:"sign,omitempty"` Thumb string `protobuf:"bytes,7,opt,name=thumb,proto3" json:"thumb,omitempty"` Type uint64 `protobuf:"varint,8,opt,name=type,proto3" json:"type,omitempty"` Hashinfo string `protobuf:"bytes,9,opt,name=hashinfo,proto3" json:"hashinfo,omitempty"` // contains filtered or unexported fields }
func (*FsGetResp_FsGetRelated) Descriptor
deprecated
added in
v0.3.3
func (*FsGetResp_FsGetRelated) Descriptor() ([]byte, []int)
Deprecated: Use FsGetResp_FsGetRelated.ProtoReflect.Descriptor instead.
func (*FsGetResp_FsGetRelated) GetCreated ¶ added in v0.3.3
func (x *FsGetResp_FsGetRelated) GetCreated() uint64
func (*FsGetResp_FsGetRelated) GetHashinfo ¶ added in v0.3.3
func (x *FsGetResp_FsGetRelated) GetHashinfo() string
func (*FsGetResp_FsGetRelated) GetIsDir ¶ added in v0.3.3
func (x *FsGetResp_FsGetRelated) GetIsDir() bool
func (*FsGetResp_FsGetRelated) GetModified ¶ added in v0.3.3
func (x *FsGetResp_FsGetRelated) GetModified() uint64
func (*FsGetResp_FsGetRelated) GetName ¶ added in v0.3.3
func (x *FsGetResp_FsGetRelated) GetName() string
func (*FsGetResp_FsGetRelated) GetSign ¶ added in v0.3.3
func (x *FsGetResp_FsGetRelated) GetSign() string
func (*FsGetResp_FsGetRelated) GetSize ¶ added in v0.3.3
func (x *FsGetResp_FsGetRelated) GetSize() uint64
func (*FsGetResp_FsGetRelated) GetThumb ¶ added in v0.3.3
func (x *FsGetResp_FsGetRelated) GetThumb() string
func (*FsGetResp_FsGetRelated) GetType ¶ added in v0.3.3
func (x *FsGetResp_FsGetRelated) GetType() uint64
func (*FsGetResp_FsGetRelated) ProtoMessage ¶ added in v0.3.3
func (*FsGetResp_FsGetRelated) ProtoMessage()
func (*FsGetResp_FsGetRelated) ProtoReflect ¶ added in v0.3.3
func (x *FsGetResp_FsGetRelated) ProtoReflect() protoreflect.Message
func (*FsGetResp_FsGetRelated) Reset ¶ added in v0.3.3
func (x *FsGetResp_FsGetRelated) Reset()
func (*FsGetResp_FsGetRelated) String ¶ added in v0.3.3
func (x *FsGetResp_FsGetRelated) String() string
type FsListReq ¶
type FsListReq struct { Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` Page uint64 `protobuf:"varint,5,opt,name=page,proto3" json:"page,omitempty"` PerPage uint64 `protobuf:"varint,6,opt,name=perPage,proto3" json:"perPage,omitempty"` Refresh bool `protobuf:"varint,7,opt,name=refresh,proto3" json:"refresh,omitempty"` // contains filtered or unexported fields }
func (*FsListReq) Descriptor
deprecated
func (*FsListReq) GetPassword ¶
func (*FsListReq) GetPerPage ¶
func (*FsListReq) GetRefresh ¶
func (*FsListReq) ProtoMessage ¶
func (*FsListReq) ProtoMessage()
func (*FsListReq) ProtoReflect ¶
func (x *FsListReq) ProtoReflect() protoreflect.Message
type FsListResp ¶
type FsListResp struct { Content []*FsListResp_FsListContent `protobuf:"bytes,1,rep,name=content,proto3" json:"content,omitempty"` Total uint64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` Readme string `protobuf:"bytes,3,opt,name=readme,proto3" json:"readme,omitempty"` Write bool `protobuf:"varint,4,opt,name=write,proto3" json:"write,omitempty"` Provider string `protobuf:"bytes,5,opt,name=provider,proto3" json:"provider,omitempty"` // contains filtered or unexported fields }
func (*FsListResp) Descriptor
deprecated
func (*FsListResp) Descriptor() ([]byte, []int)
Deprecated: Use FsListResp.ProtoReflect.Descriptor instead.
func (*FsListResp) GetContent ¶
func (x *FsListResp) GetContent() []*FsListResp_FsListContent
func (*FsListResp) GetProvider ¶
func (x *FsListResp) GetProvider() string
func (*FsListResp) GetReadme ¶
func (x *FsListResp) GetReadme() string
func (*FsListResp) GetTotal ¶
func (x *FsListResp) GetTotal() uint64
func (*FsListResp) GetWrite ¶
func (x *FsListResp) GetWrite() bool
func (*FsListResp) ProtoMessage ¶
func (*FsListResp) ProtoMessage()
func (*FsListResp) ProtoReflect ¶
func (x *FsListResp) ProtoReflect() protoreflect.Message
func (*FsListResp) Reset ¶
func (x *FsListResp) Reset()
func (*FsListResp) String ¶
func (x *FsListResp) String() string
type FsListResp_FsListContent ¶
type FsListResp_FsListContent struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Size uint64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` IsDir bool `protobuf:"varint,3,opt,name=isDir,proto3" json:"isDir,omitempty"` Modified uint64 `protobuf:"varint,4,opt,name=modified,proto3" json:"modified,omitempty"` Sign string `protobuf:"bytes,6,opt,name=sign,proto3" json:"sign,omitempty"` Thumb string `protobuf:"bytes,7,opt,name=thumb,proto3" json:"thumb,omitempty"` Type uint64 `protobuf:"varint,8,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*FsListResp_FsListContent) Descriptor
deprecated
func (*FsListResp_FsListContent) Descriptor() ([]byte, []int)
Deprecated: Use FsListResp_FsListContent.ProtoReflect.Descriptor instead.
func (*FsListResp_FsListContent) GetIsDir ¶
func (x *FsListResp_FsListContent) GetIsDir() bool
func (*FsListResp_FsListContent) GetModified ¶
func (x *FsListResp_FsListContent) GetModified() uint64
func (*FsListResp_FsListContent) GetName ¶
func (x *FsListResp_FsListContent) GetName() string
func (*FsListResp_FsListContent) GetSign ¶
func (x *FsListResp_FsListContent) GetSign() string
func (*FsListResp_FsListContent) GetSize ¶
func (x *FsListResp_FsListContent) GetSize() uint64
func (*FsListResp_FsListContent) GetThumb ¶
func (x *FsListResp_FsListContent) GetThumb() string
func (*FsListResp_FsListContent) GetType ¶
func (x *FsListResp_FsListContent) GetType() uint64
func (*FsListResp_FsListContent) ProtoMessage ¶
func (*FsListResp_FsListContent) ProtoMessage()
func (*FsListResp_FsListContent) ProtoReflect ¶
func (x *FsListResp_FsListContent) ProtoReflect() protoreflect.Message
func (*FsListResp_FsListContent) Reset ¶
func (x *FsListResp_FsListContent) Reset()
func (*FsListResp_FsListContent) String ¶
func (x *FsListResp_FsListContent) String() string
type FsOtherReq ¶
type FsOtherReq struct { Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` Method string `protobuf:"bytes,4,opt,name=method,proto3" json:"method,omitempty"` Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*FsOtherReq) Descriptor
deprecated
func (*FsOtherReq) Descriptor() ([]byte, []int)
Deprecated: Use FsOtherReq.ProtoReflect.Descriptor instead.
func (*FsOtherReq) GetHost ¶
func (x *FsOtherReq) GetHost() string
func (*FsOtherReq) GetMethod ¶
func (x *FsOtherReq) GetMethod() string
func (*FsOtherReq) GetPassword ¶
func (x *FsOtherReq) GetPassword() string
func (*FsOtherReq) GetPath ¶
func (x *FsOtherReq) GetPath() string
func (*FsOtherReq) GetToken ¶
func (x *FsOtherReq) GetToken() string
func (*FsOtherReq) ProtoMessage ¶
func (*FsOtherReq) ProtoMessage()
func (*FsOtherReq) ProtoReflect ¶
func (x *FsOtherReq) ProtoReflect() protoreflect.Message
func (*FsOtherReq) Reset ¶
func (x *FsOtherReq) Reset()
func (*FsOtherReq) String ¶
func (x *FsOtherReq) String() string
type FsOtherResp ¶
type FsOtherResp struct { DriveId string `protobuf:"bytes,1,opt,name=driveId,proto3" json:"driveId,omitempty"` FileId string `protobuf:"bytes,2,opt,name=fileId,proto3" json:"fileId,omitempty"` VideoPreviewPlayInfo *FsOtherResp_VideoPreviewPlayInfo `protobuf:"bytes,3,opt,name=videoPreviewPlayInfo,proto3" json:"videoPreviewPlayInfo,omitempty"` // contains filtered or unexported fields }
func (*FsOtherResp) Descriptor
deprecated
func (*FsOtherResp) Descriptor() ([]byte, []int)
Deprecated: Use FsOtherResp.ProtoReflect.Descriptor instead.
func (*FsOtherResp) GetDriveId ¶
func (x *FsOtherResp) GetDriveId() string
func (*FsOtherResp) GetFileId ¶
func (x *FsOtherResp) GetFileId() string
func (*FsOtherResp) GetVideoPreviewPlayInfo ¶
func (x *FsOtherResp) GetVideoPreviewPlayInfo() *FsOtherResp_VideoPreviewPlayInfo
func (*FsOtherResp) ProtoMessage ¶
func (*FsOtherResp) ProtoMessage()
func (*FsOtherResp) ProtoReflect ¶
func (x *FsOtherResp) ProtoReflect() protoreflect.Message
func (*FsOtherResp) Reset ¶
func (x *FsOtherResp) Reset()
func (*FsOtherResp) String ¶
func (x *FsOtherResp) String() string
type FsOtherResp_VideoPreviewPlayInfo ¶
type FsOtherResp_VideoPreviewPlayInfo struct { Category string `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"` LiveTranscodingSubtitleTaskList []*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList `protobuf:"bytes,2,rep,name=liveTranscodingSubtitleTaskList,proto3" json:"liveTranscodingSubtitleTaskList,omitempty"` LiveTranscodingTaskList []*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList `protobuf:"bytes,3,rep,name=liveTranscodingTaskList,proto3" json:"liveTranscodingTaskList,omitempty"` Meta *FsOtherResp_VideoPreviewPlayInfo_Meta `protobuf:"bytes,4,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*FsOtherResp_VideoPreviewPlayInfo) Descriptor
deprecated
func (*FsOtherResp_VideoPreviewPlayInfo) Descriptor() ([]byte, []int)
Deprecated: Use FsOtherResp_VideoPreviewPlayInfo.ProtoReflect.Descriptor instead.
func (*FsOtherResp_VideoPreviewPlayInfo) GetCategory ¶
func (x *FsOtherResp_VideoPreviewPlayInfo) GetCategory() string
func (*FsOtherResp_VideoPreviewPlayInfo) GetLiveTranscodingSubtitleTaskList ¶
func (x *FsOtherResp_VideoPreviewPlayInfo) GetLiveTranscodingSubtitleTaskList() []*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList
func (*FsOtherResp_VideoPreviewPlayInfo) GetLiveTranscodingTaskList ¶
func (x *FsOtherResp_VideoPreviewPlayInfo) GetLiveTranscodingTaskList() []*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList
func (*FsOtherResp_VideoPreviewPlayInfo) GetMeta ¶
func (x *FsOtherResp_VideoPreviewPlayInfo) GetMeta() *FsOtherResp_VideoPreviewPlayInfo_Meta
func (*FsOtherResp_VideoPreviewPlayInfo) ProtoMessage ¶
func (*FsOtherResp_VideoPreviewPlayInfo) ProtoMessage()
func (*FsOtherResp_VideoPreviewPlayInfo) ProtoReflect ¶
func (x *FsOtherResp_VideoPreviewPlayInfo) ProtoReflect() protoreflect.Message
func (*FsOtherResp_VideoPreviewPlayInfo) Reset ¶
func (x *FsOtherResp_VideoPreviewPlayInfo) Reset()
func (*FsOtherResp_VideoPreviewPlayInfo) String ¶
func (x *FsOtherResp_VideoPreviewPlayInfo) String() string
type FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList ¶
type FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList struct { Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList) Descriptor
deprecated
func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList) Descriptor() ([]byte, []int)
Deprecated: Use FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList.ProtoReflect.Descriptor instead.
func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList) GetLanguage ¶
func (x *FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList) GetLanguage() string
func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList) GetStatus ¶
func (x *FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList) GetStatus() string
func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList) GetUrl ¶
func (x *FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList) GetUrl() string
func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList) ProtoMessage ¶
func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList) ProtoMessage()
func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList) ProtoReflect ¶
func (x *FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList) ProtoReflect() protoreflect.Message
func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList) Reset ¶
func (x *FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList) Reset()
func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList) String ¶
func (x *FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList) String() string
type FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList ¶
type FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList struct { Stage string `protobuf:"bytes,1,opt,name=stage,proto3" json:"stage,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` TemplateHeight uint64 `protobuf:"varint,3,opt,name=templateHeight,proto3" json:"templateHeight,omitempty"` TemplateId string `protobuf:"bytes,4,opt,name=templateId,proto3" json:"templateId,omitempty"` TemplateName string `protobuf:"bytes,5,opt,name=templateName,proto3" json:"templateName,omitempty"` TemplateWidth uint64 `protobuf:"varint,6,opt,name=templateWidth,proto3" json:"templateWidth,omitempty"` Url string `protobuf:"bytes,7,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) Descriptor
deprecated
func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) Descriptor() ([]byte, []int)
Deprecated: Use FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList.ProtoReflect.Descriptor instead.
func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) GetStage ¶
func (x *FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) GetStage() string
func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) GetStatus ¶
func (x *FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) GetStatus() string
func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) GetTemplateHeight ¶
func (x *FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) GetTemplateHeight() uint64
func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) GetTemplateId ¶
func (x *FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) GetTemplateId() string
func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) GetTemplateName ¶
func (x *FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) GetTemplateName() string
func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) GetTemplateWidth ¶
func (x *FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) GetTemplateWidth() uint64
func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) GetUrl ¶
func (x *FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) GetUrl() string
func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) ProtoMessage ¶
func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) ProtoMessage()
func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) ProtoReflect ¶
func (x *FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) ProtoReflect() protoreflect.Message
func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) Reset ¶
func (x *FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) Reset()
func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) String ¶
func (x *FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) String() string
type FsOtherResp_VideoPreviewPlayInfo_Meta ¶
type FsOtherResp_VideoPreviewPlayInfo_Meta struct { Duration float64 `protobuf:"fixed64,1,opt,name=duration,proto3" json:"duration,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` Width uint64 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` // contains filtered or unexported fields }
func (*FsOtherResp_VideoPreviewPlayInfo_Meta) Descriptor
deprecated
func (*FsOtherResp_VideoPreviewPlayInfo_Meta) Descriptor() ([]byte, []int)
Deprecated: Use FsOtherResp_VideoPreviewPlayInfo_Meta.ProtoReflect.Descriptor instead.
func (*FsOtherResp_VideoPreviewPlayInfo_Meta) GetDuration ¶
func (x *FsOtherResp_VideoPreviewPlayInfo_Meta) GetDuration() float64
func (*FsOtherResp_VideoPreviewPlayInfo_Meta) GetHeight ¶
func (x *FsOtherResp_VideoPreviewPlayInfo_Meta) GetHeight() uint64
func (*FsOtherResp_VideoPreviewPlayInfo_Meta) GetWidth ¶
func (x *FsOtherResp_VideoPreviewPlayInfo_Meta) GetWidth() uint64
func (*FsOtherResp_VideoPreviewPlayInfo_Meta) ProtoMessage ¶
func (*FsOtherResp_VideoPreviewPlayInfo_Meta) ProtoMessage()
func (*FsOtherResp_VideoPreviewPlayInfo_Meta) ProtoReflect ¶
func (x *FsOtherResp_VideoPreviewPlayInfo_Meta) ProtoReflect() protoreflect.Message
func (*FsOtherResp_VideoPreviewPlayInfo_Meta) Reset ¶
func (x *FsOtherResp_VideoPreviewPlayInfo_Meta) Reset()
func (*FsOtherResp_VideoPreviewPlayInfo_Meta) String ¶
func (x *FsOtherResp_VideoPreviewPlayInfo_Meta) String() string
type FsSearchReq ¶ added in v0.3.2
type FsSearchReq struct { Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"` Keywords string `protobuf:"bytes,4,opt,name=keywords,proto3" json:"keywords,omitempty"` Scope uint64 `protobuf:"varint,5,opt,name=scope,proto3" json:"scope,omitempty"` Page uint64 `protobuf:"varint,6,opt,name=page,proto3" json:"page,omitempty"` PerPage uint64 `protobuf:"varint,7,opt,name=perPage,proto3" json:"perPage,omitempty"` Password string `protobuf:"bytes,8,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*FsSearchReq) Descriptor
deprecated
added in
v0.3.2
func (*FsSearchReq) Descriptor() ([]byte, []int)
Deprecated: Use FsSearchReq.ProtoReflect.Descriptor instead.
func (*FsSearchReq) GetHost ¶ added in v0.3.2
func (x *FsSearchReq) GetHost() string
func (*FsSearchReq) GetKeywords ¶ added in v0.3.2
func (x *FsSearchReq) GetKeywords() string
func (*FsSearchReq) GetPage ¶ added in v0.3.2
func (x *FsSearchReq) GetPage() uint64
func (*FsSearchReq) GetParent ¶ added in v0.3.2
func (x *FsSearchReq) GetParent() string
func (*FsSearchReq) GetPassword ¶ added in v0.3.2
func (x *FsSearchReq) GetPassword() string
func (*FsSearchReq) GetPerPage ¶ added in v0.3.2
func (x *FsSearchReq) GetPerPage() uint64
func (*FsSearchReq) GetScope ¶ added in v0.3.2
func (x *FsSearchReq) GetScope() uint64
func (*FsSearchReq) GetToken ¶ added in v0.3.2
func (x *FsSearchReq) GetToken() string
func (*FsSearchReq) ProtoMessage ¶ added in v0.3.2
func (*FsSearchReq) ProtoMessage()
func (*FsSearchReq) ProtoReflect ¶ added in v0.3.2
func (x *FsSearchReq) ProtoReflect() protoreflect.Message
func (*FsSearchReq) Reset ¶ added in v0.3.2
func (x *FsSearchReq) Reset()
func (*FsSearchReq) String ¶ added in v0.3.2
func (x *FsSearchReq) String() string
type FsSearchResp ¶ added in v0.3.2
type FsSearchResp struct { Content []*FsSearchResp_FsSearchContent `protobuf:"bytes,1,rep,name=content,proto3" json:"content,omitempty"` Total uint64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*FsSearchResp) Descriptor
deprecated
added in
v0.3.2
func (*FsSearchResp) Descriptor() ([]byte, []int)
Deprecated: Use FsSearchResp.ProtoReflect.Descriptor instead.
func (*FsSearchResp) GetContent ¶ added in v0.3.2
func (x *FsSearchResp) GetContent() []*FsSearchResp_FsSearchContent
func (*FsSearchResp) GetTotal ¶ added in v0.3.2
func (x *FsSearchResp) GetTotal() uint64
func (*FsSearchResp) ProtoMessage ¶ added in v0.3.2
func (*FsSearchResp) ProtoMessage()
func (*FsSearchResp) ProtoReflect ¶ added in v0.3.2
func (x *FsSearchResp) ProtoReflect() protoreflect.Message
func (*FsSearchResp) Reset ¶ added in v0.3.2
func (x *FsSearchResp) Reset()
func (*FsSearchResp) String ¶ added in v0.3.2
func (x *FsSearchResp) String() string
type FsSearchResp_FsSearchContent ¶ added in v0.3.2
type FsSearchResp_FsSearchContent struct { Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` IsDir bool `protobuf:"varint,3,opt,name=isDir,proto3" json:"isDir,omitempty"` Size uint64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` Type uint64 `protobuf:"varint,5,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*FsSearchResp_FsSearchContent) Descriptor
deprecated
added in
v0.3.2
func (*FsSearchResp_FsSearchContent) Descriptor() ([]byte, []int)
Deprecated: Use FsSearchResp_FsSearchContent.ProtoReflect.Descriptor instead.
func (*FsSearchResp_FsSearchContent) GetIsDir ¶ added in v0.3.2
func (x *FsSearchResp_FsSearchContent) GetIsDir() bool
func (*FsSearchResp_FsSearchContent) GetName ¶ added in v0.3.2
func (x *FsSearchResp_FsSearchContent) GetName() string
func (*FsSearchResp_FsSearchContent) GetParent ¶ added in v0.3.2
func (x *FsSearchResp_FsSearchContent) GetParent() string
func (*FsSearchResp_FsSearchContent) GetSize ¶ added in v0.3.2
func (x *FsSearchResp_FsSearchContent) GetSize() uint64
func (*FsSearchResp_FsSearchContent) GetType ¶ added in v0.3.2
func (x *FsSearchResp_FsSearchContent) GetType() uint64
func (*FsSearchResp_FsSearchContent) ProtoMessage ¶ added in v0.3.2
func (*FsSearchResp_FsSearchContent) ProtoMessage()
func (*FsSearchResp_FsSearchContent) ProtoReflect ¶ added in v0.3.2
func (x *FsSearchResp_FsSearchContent) ProtoReflect() protoreflect.Message
func (*FsSearchResp_FsSearchContent) Reset ¶ added in v0.3.2
func (x *FsSearchResp_FsSearchContent) Reset()
func (*FsSearchResp_FsSearchContent) String ¶ added in v0.3.2
func (x *FsSearchResp_FsSearchContent) String() string
type LoginReq ¶
type LoginReq struct { Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` Hashed bool `protobuf:"varint,4,opt,name=hashed,proto3" json:"hashed,omitempty"` // contains filtered or unexported fields }
func (*LoginReq) Descriptor
deprecated
func (*LoginReq) GetPassword ¶
func (*LoginReq) GetUsername ¶
func (*LoginReq) ProtoMessage ¶
func (*LoginReq) ProtoMessage()
func (*LoginReq) ProtoReflect ¶
func (x *LoginReq) ProtoReflect() protoreflect.Message
type LoginResp ¶
type LoginResp struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*LoginResp) Descriptor
deprecated
func (*LoginResp) ProtoMessage ¶
func (*LoginResp) ProtoMessage()
func (*LoginResp) ProtoReflect ¶
func (x *LoginResp) ProtoReflect() protoreflect.Message
type MeReq ¶
type MeReq struct { Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*MeReq) Descriptor
deprecated
func (*MeReq) ProtoMessage ¶
func (*MeReq) ProtoMessage()
func (*MeReq) ProtoReflect ¶
func (x *MeReq) ProtoReflect() protoreflect.Message
type MeResp ¶
type MeResp struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` BasePath string `protobuf:"bytes,4,opt,name=basePath,proto3" json:"basePath,omitempty"` Role uint64 `protobuf:"varint,5,opt,name=role,proto3" json:"role,omitempty"` Disabled bool `protobuf:"varint,6,opt,name=disabled,proto3" json:"disabled,omitempty"` Permission uint64 `protobuf:"varint,7,opt,name=permission,proto3" json:"permission,omitempty"` SsoId string `protobuf:"bytes,8,opt,name=ssoId,proto3" json:"ssoId,omitempty"` Otp bool `protobuf:"varint,9,opt,name=otp,proto3" json:"otp,omitempty"` // contains filtered or unexported fields }
func (*MeResp) Descriptor
deprecated
func (*MeResp) GetBasePath ¶
func (*MeResp) GetDisabled ¶
func (*MeResp) GetPassword ¶
func (*MeResp) GetPermission ¶
func (*MeResp) GetUsername ¶
func (*MeResp) ProtoMessage ¶
func (*MeResp) ProtoMessage()
func (*MeResp) ProtoReflect ¶
func (x *MeResp) ProtoReflect() protoreflect.Message
type UnimplementedAlistServer ¶
type UnimplementedAlistServer struct { }
UnimplementedAlistServer must be embedded to have forward compatible implementations.
func (UnimplementedAlistServer) FsList ¶
func (UnimplementedAlistServer) FsList(context.Context, *FsListReq) (*FsListResp, error)
func (UnimplementedAlistServer) FsOther ¶
func (UnimplementedAlistServer) FsOther(context.Context, *FsOtherReq) (*FsOtherResp, error)
func (UnimplementedAlistServer) FsSearch ¶ added in v0.3.2
func (UnimplementedAlistServer) FsSearch(context.Context, *FsSearchReq) (*FsSearchResp, error)
type UnsafeAlistServer ¶
type UnsafeAlistServer interface {
// contains filtered or unexported methods
}
UnsafeAlistServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AlistServer will result in compilation errors.