model

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

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) MarshalTo

func (m *AccessInfo) MarshalTo(dAtA []byte) (int, 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

type CleanCacheArgs struct {
	Token string
	Mid   int64
}

CleanCacheArgs del cache rpc client arguments.

type RegionInfo

type RegionInfo struct {
	Region      string `json:"region"`
	TokenSuffix string `json:"token_suffix"`
}

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

func (*RenewInfo) GetExpires

func (m *RenewInfo) GetExpires() int64

func (*RenewInfo) Marshal

func (m *RenewInfo) Marshal() (dAtA []byte, err error)

func (*RenewInfo) MarshalTo

func (m *RenewInfo) MarshalTo(dAtA []byte) (int, error)

func (*RenewInfo) ProtoMessage

func (*RenewInfo) ProtoMessage()

func (*RenewInfo) Reset

func (m *RenewInfo) Reset()

func (*RenewInfo) Size

func (m *RenewInfo) Size() (n int)

func (*RenewInfo) String

func (m *RenewInfo) String() string

func (*RenewInfo) Unmarshal

func (m *RenewInfo) Unmarshal(dAtA []byte) error

func (*RenewInfo) XXX_DiscardUnknown

func (m *RenewInfo) XXX_DiscardUnknown()

func (*RenewInfo) XXX_Marshal

func (m *RenewInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RenewInfo) XXX_Merge

func (dst *RenewInfo) XXX_Merge(src proto.Message)

func (*RenewInfo) XXX_Size

func (m *RenewInfo) XXX_Size() int

func (*RenewInfo) XXX_Unmarshal

func (m *RenewInfo) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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