alist

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

View Source
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"
)
View Source
const OperationAlistFsGet = "/api.alist.Alist/FsGet"
View Source
const OperationAlistFsList = "/api.alist.Alist/FsList"
View Source
const OperationAlistFsOther = "/api.alist.Alist/FsOther"
View Source
const OperationAlistFsSearch = "/api.alist.Alist/FsSearch"
View Source
const OperationAlistLogin = "/api.alist.Alist/Login"
View Source
const OperationAlistMe = "/api.alist.Alist/Me"

Variables

View Source
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)

View Source
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 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) Descriptor() ([]byte, []int)

Deprecated: Use FsGetReq.ProtoReflect.Descriptor instead.

func (*FsGetReq) GetHost

func (x *FsGetReq) GetHost() string

func (*FsGetReq) GetPassword

func (x *FsGetReq) GetPassword() string

func (*FsGetReq) GetPath

func (x *FsGetReq) GetPath() string

func (*FsGetReq) GetToken

func (x *FsGetReq) GetToken() string

func (*FsGetReq) GetUserAgent added in v0.3.3

func (x *FsGetReq) GetUserAgent() string

func (*FsGetReq) ProtoMessage

func (*FsGetReq) ProtoMessage()

func (*FsGetReq) ProtoReflect

func (x *FsGetReq) ProtoReflect() protoreflect.Message

func (*FsGetReq) Reset

func (x *FsGetReq) Reset()

func (*FsGetReq) String

func (x *FsGetReq) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use FsGetResp.ProtoReflect.Descriptor instead.

func (*FsGetResp) GetCreated

func (x *FsGetResp) GetCreated() uint64

func (*FsGetResp) GetHashinfo

func (x *FsGetResp) GetHashinfo() string

func (*FsGetResp) GetIsDir

func (x *FsGetResp) GetIsDir() bool

func (*FsGetResp) GetModified

func (x *FsGetResp) GetModified() uint64

func (*FsGetResp) GetName

func (x *FsGetResp) GetName() string

func (*FsGetResp) GetProvider

func (x *FsGetResp) GetProvider() string

func (*FsGetResp) GetRawUrl

func (x *FsGetResp) GetRawUrl() string

func (*FsGetResp) GetReadme

func (x *FsGetResp) GetReadme() string

func (*FsGetResp) GetRelated added in v0.3.3

func (x *FsGetResp) GetRelated() []*FsGetResp_FsGetRelated

func (*FsGetResp) GetSign

func (x *FsGetResp) GetSign() string

func (*FsGetResp) GetSize

func (x *FsGetResp) GetSize() uint64

func (*FsGetResp) GetThumb

func (x *FsGetResp) GetThumb() string

func (*FsGetResp) GetType

func (x *FsGetResp) GetType() uint64

func (*FsGetResp) ProtoMessage

func (*FsGetResp) ProtoMessage()

func (*FsGetResp) ProtoReflect

func (x *FsGetResp) ProtoReflect() protoreflect.Message

func (*FsGetResp) Reset

func (x *FsGetResp) Reset()

func (*FsGetResp) String

func (x *FsGetResp) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use FsListReq.ProtoReflect.Descriptor instead.

func (*FsListReq) GetHost

func (x *FsListReq) GetHost() string

func (*FsListReq) GetPage

func (x *FsListReq) GetPage() uint64

func (*FsListReq) GetPassword

func (x *FsListReq) GetPassword() string

func (*FsListReq) GetPath

func (x *FsListReq) GetPath() string

func (*FsListReq) GetPerPage

func (x *FsListReq) GetPerPage() uint64

func (*FsListReq) GetRefresh

func (x *FsListReq) GetRefresh() bool

func (*FsListReq) GetToken

func (x *FsListReq) GetToken() string

func (*FsListReq) ProtoMessage

func (*FsListReq) ProtoMessage()

func (*FsListReq) ProtoReflect

func (x *FsListReq) ProtoReflect() protoreflect.Message

func (*FsListReq) Reset

func (x *FsListReq) Reset()

func (*FsListReq) String

func (x *FsListReq) String() string

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 (*FsOtherResp_VideoPreviewPlayInfo) GetLiveTranscodingTaskList

func (*FsOtherResp_VideoPreviewPlayInfo) GetMeta

func (*FsOtherResp_VideoPreviewPlayInfo) ProtoMessage

func (*FsOtherResp_VideoPreviewPlayInfo) ProtoMessage()

func (*FsOtherResp_VideoPreviewPlayInfo) ProtoReflect

func (*FsOtherResp_VideoPreviewPlayInfo) Reset

func (*FsOtherResp_VideoPreviewPlayInfo) 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

Deprecated: Use FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList.ProtoReflect.Descriptor instead.

func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList) GetLanguage

func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList) GetStatus

func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList) GetUrl

func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList) ProtoMessage

func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList) ProtoReflect

func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList) Reset

func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList) 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

Deprecated: Use FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList.ProtoReflect.Descriptor instead.

func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) GetStage

func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) GetStatus

func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) GetTemplateHeight

func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) GetTemplateId

func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) GetTemplateName

func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) GetTemplateWidth

func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) GetUrl

func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) ProtoMessage

func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) ProtoReflect

func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) Reset

func (*FsOtherResp_VideoPreviewPlayInfo_LiveTranscodingTaskList) 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 (*FsOtherResp_VideoPreviewPlayInfo_Meta) GetHeight

func (*FsOtherResp_VideoPreviewPlayInfo_Meta) GetWidth

func (*FsOtherResp_VideoPreviewPlayInfo_Meta) ProtoMessage

func (*FsOtherResp_VideoPreviewPlayInfo_Meta) ProtoMessage()

func (*FsOtherResp_VideoPreviewPlayInfo_Meta) ProtoReflect

func (*FsOtherResp_VideoPreviewPlayInfo_Meta) Reset

func (*FsOtherResp_VideoPreviewPlayInfo_Meta) 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 (*FsSearchResp_FsSearchContent) Reset added in v0.3.2

func (x *FsSearchResp_FsSearchContent) Reset()

func (*FsSearchResp_FsSearchContent) String added in v0.3.2

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) Descriptor() ([]byte, []int)

Deprecated: Use LoginReq.ProtoReflect.Descriptor instead.

func (*LoginReq) GetHashed

func (x *LoginReq) GetHashed() bool

func (*LoginReq) GetHost

func (x *LoginReq) GetHost() string

func (*LoginReq) GetPassword

func (x *LoginReq) GetPassword() string

func (*LoginReq) GetUsername

func (x *LoginReq) GetUsername() string

func (*LoginReq) ProtoMessage

func (*LoginReq) ProtoMessage()

func (*LoginReq) ProtoReflect

func (x *LoginReq) ProtoReflect() protoreflect.Message

func (*LoginReq) Reset

func (x *LoginReq) Reset()

func (*LoginReq) String

func (x *LoginReq) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use LoginResp.ProtoReflect.Descriptor instead.

func (*LoginResp) GetToken

func (x *LoginResp) GetToken() string

func (*LoginResp) ProtoMessage

func (*LoginResp) ProtoMessage()

func (*LoginResp) ProtoReflect

func (x *LoginResp) ProtoReflect() protoreflect.Message

func (*LoginResp) Reset

func (x *LoginResp) Reset()

func (*LoginResp) String

func (x *LoginResp) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use MeReq.ProtoReflect.Descriptor instead.

func (*MeReq) GetHost

func (x *MeReq) GetHost() string

func (*MeReq) GetToken

func (x *MeReq) GetToken() string

func (*MeReq) ProtoMessage

func (*MeReq) ProtoMessage()

func (*MeReq) ProtoReflect

func (x *MeReq) ProtoReflect() protoreflect.Message

func (*MeReq) Reset

func (x *MeReq) Reset()

func (*MeReq) String

func (x *MeReq) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use MeResp.ProtoReflect.Descriptor instead.

func (*MeResp) GetBasePath

func (x *MeResp) GetBasePath() string

func (*MeResp) GetDisabled

func (x *MeResp) GetDisabled() bool

func (*MeResp) GetId

func (x *MeResp) GetId() uint64

func (*MeResp) GetOtp

func (x *MeResp) GetOtp() bool

func (*MeResp) GetPassword

func (x *MeResp) GetPassword() string

func (*MeResp) GetPermission

func (x *MeResp) GetPermission() uint64

func (*MeResp) GetRole

func (x *MeResp) GetRole() uint64

func (*MeResp) GetSsoId

func (x *MeResp) GetSsoId() string

func (*MeResp) GetUsername

func (x *MeResp) GetUsername() string

func (*MeResp) ProtoMessage

func (*MeResp) ProtoMessage()

func (*MeResp) ProtoReflect

func (x *MeResp) ProtoReflect() protoreflect.Message

func (*MeResp) Reset

func (x *MeResp) Reset()

func (*MeResp) String

func (x *MeResp) String() string

type UnimplementedAlistServer

type UnimplementedAlistServer struct {
}

UnimplementedAlistServer must be embedded to have forward compatible implementations.

func (UnimplementedAlistServer) FsGet

func (UnimplementedAlistServer) FsList

func (UnimplementedAlistServer) FsOther

func (UnimplementedAlistServer) FsSearch added in v0.3.2

func (UnimplementedAlistServer) Login

func (UnimplementedAlistServer) Me

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.

Jump to

Keyboard shortcuts

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