Documentation
¶
Index ¶
- Variables
- func ErrorNotAllowExt(format string, args ...interface{}) *errors.Error
- func IsNotAllowExt(err error) bool
- type Client
- type ErrorReason
- func (ErrorReason) Descriptor() protoreflect.EnumDescriptor
- func (x ErrorReason) Enum() *ErrorReason
- func (ErrorReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x ErrorReason) Number() protoreflect.EnumNumber
- func (x ErrorReason) String() string
- func (ErrorReason) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorReason_name = map[int32]string{ 0: "NOT_ALLOW_EXT", } ErrorReason_value = map[string]int32{ "NOT_ALLOW_EXT": 0, } )
Enum value maps for ErrorReason.
View Source
var File_fs_google_ecode_proto protoreflect.FileDescriptor
Functions ¶
func ErrorNotAllowExt ¶
为某个枚举单独设置错误码
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) SaveWebSiteImage ¶
SaveWebSiteImage 转存网络上的视频或图片
type ErrorReason ¶
type ErrorReason int32
const ( // 为某个枚举单独设置错误码 ErrorReason_NOT_ALLOW_EXT ErrorReason = 0 )
func (ErrorReason) Descriptor ¶
func (ErrorReason) Descriptor() protoreflect.EnumDescriptor
func (ErrorReason) Enum ¶
func (x ErrorReason) Enum() *ErrorReason
func (ErrorReason) EnumDescriptor
deprecated
func (ErrorReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use ErrorReason.Descriptor instead.
func (ErrorReason) Number ¶
func (x ErrorReason) Number() protoreflect.EnumNumber
func (ErrorReason) String ¶
func (x ErrorReason) String() string
func (ErrorReason) Type ¶
func (ErrorReason) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.