Documentation ¶
Index ¶
- Variables
- type AccessInfo
- func (*AccessInfo) Descriptor() ([]byte, []int)
- func (m *AccessInfo) GetAppID() int64
- func (m *AccessInfo) GetCreateAt() int64
- func (m *AccessInfo) GetExpires() int64
- func (m *AccessInfo) GetMid() int64
- func (m *AccessInfo) GetName() string
- func (m *AccessInfo) GetPermission() string
- func (m *AccessInfo) GetToken() string
- func (m *AccessInfo) GetUserID() string
- func (m *AccessInfo) Marshal() (dAtA []byte, err error)
- func (m *AccessInfo) MarshalTo(dAtA []byte) (int, error)
- func (*AccessInfo) ProtoMessage()
- func (m *AccessInfo) Reset()
- func (m *AccessInfo) Size() (n int)
- func (m *AccessInfo) String() string
- func (m *AccessInfo) Unmarshal(dAtA []byte) error
- func (m *AccessInfo) XXX_DiscardUnknown()
- func (m *AccessInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AccessInfo) XXX_Merge(src proto.Message)
- func (m *AccessInfo) XXX_Size() int
- func (m *AccessInfo) XXX_Unmarshal(b []byte) error
- type CleanCacheArgs
- type RegionInfo
- type RenewInfo
- func (*RenewInfo) Descriptor() ([]byte, []int)
- func (m *RenewInfo) GetExpires() int64
- func (m *RenewInfo) Marshal() (dAtA []byte, err error)
- func (m *RenewInfo) MarshalTo(dAtA []byte) (int, error)
- func (*RenewInfo) ProtoMessage()
- func (m *RenewInfo) Reset()
- func (m *RenewInfo) Size() (n int)
- func (m *RenewInfo) String() string
- func (m *RenewInfo) Unmarshal(dAtA []byte) error
- func (m *RenewInfo) XXX_DiscardUnknown()
- func (m *RenewInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RenewInfo) XXX_Merge(src proto.Message)
- func (m *RenewInfo) XXX_Size() int
- func (m *RenewInfo) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthToken = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowToken = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type AccessInfo ¶
type AccessInfo struct { Mid int64 `protobuf:"varint,1,opt,name=Mid,proto3" json:"mid"` AppID int64 `protobuf:"varint,2,opt,name=AppID,proto3" json:"appid"` Token string `protobuf:"bytes,3,opt,name=Token,proto3" json:"access_key"` CreateAt int64 `protobuf:"varint,4,opt,name=CreateAt,proto3" json:"create_at"` UserID string `protobuf:"bytes,5,opt,name=UserID,proto3" json:"userid"` Name string `protobuf:"bytes,6,opt,name=Name,proto3" json:"uname"` Expires int64 `protobuf:"varint,7,opt,name=Expires,proto3" json:"expires"` Permission string `protobuf:"bytes,8,opt,name=Permission,proto3" json:"permission"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
result of http access info.
func (*AccessInfo) Descriptor ¶
func (*AccessInfo) Descriptor() ([]byte, []int)
func (*AccessInfo) GetAppID ¶
func (m *AccessInfo) GetAppID() int64
func (*AccessInfo) GetCreateAt ¶
func (m *AccessInfo) GetCreateAt() int64
func (*AccessInfo) GetExpires ¶
func (m *AccessInfo) GetExpires() int64
func (*AccessInfo) GetMid ¶
func (m *AccessInfo) GetMid() int64
func (*AccessInfo) GetName ¶
func (m *AccessInfo) GetName() string
func (*AccessInfo) GetPermission ¶
func (m *AccessInfo) GetPermission() string
func (*AccessInfo) GetToken ¶
func (m *AccessInfo) GetToken() string
func (*AccessInfo) GetUserID ¶
func (m *AccessInfo) GetUserID() string
func (*AccessInfo) Marshal ¶
func (m *AccessInfo) Marshal() (dAtA []byte, err error)
func (*AccessInfo) ProtoMessage ¶
func (*AccessInfo) ProtoMessage()
func (*AccessInfo) Reset ¶
func (m *AccessInfo) Reset()
func (*AccessInfo) Size ¶
func (m *AccessInfo) Size() (n int)
func (*AccessInfo) String ¶
func (m *AccessInfo) String() string
func (*AccessInfo) Unmarshal ¶
func (m *AccessInfo) Unmarshal(dAtA []byte) error
func (*AccessInfo) XXX_DiscardUnknown ¶
func (m *AccessInfo) XXX_DiscardUnknown()
func (*AccessInfo) XXX_Marshal ¶
func (m *AccessInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccessInfo) XXX_Merge ¶
func (dst *AccessInfo) XXX_Merge(src proto.Message)
func (*AccessInfo) XXX_Size ¶
func (m *AccessInfo) XXX_Size() int
func (*AccessInfo) XXX_Unmarshal ¶
func (m *AccessInfo) XXX_Unmarshal(b []byte) error
type CleanCacheArgs ¶
CleanCacheArgs del cache rpc client arguments.
type RegionInfo ¶
RegionInfo region info.
type RenewInfo ¶
type RenewInfo struct { Expires int64 `protobuf:"varint,1,opt,name=Expires,proto3" json:"expires"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RenewInfo) Descriptor ¶
func (*RenewInfo) GetExpires ¶
func (*RenewInfo) ProtoMessage ¶
func (*RenewInfo) ProtoMessage()
func (*RenewInfo) XXX_DiscardUnknown ¶
func (m *RenewInfo) XXX_DiscardUnknown()
func (*RenewInfo) XXX_Marshal ¶
func (*RenewInfo) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.