Documentation ¶
Overview ¶
Package archive is a generated protocol buffer package.
It is generated from these files:
model.proto
It has these top-level messages:
Info
Index ¶
- Constants
- Variables
- type Info
- func (info *Info) AttrVal(bit uint) int32
- func (*Info) Descriptor() ([]byte, []int)
- func (m *Info) GetAid() int64
- func (m *Info) GetAttribute() int32
- func (m *Info) GetCids() []int64
- func (m *Info) GetMid() int64
- func (m *Info) GetState() int32
- func (info *Info) HasCid(cid int64) (ok bool)
- func (info *Info) IsNormal() bool
- func (info *Info) IsPGC() bool
- func (m *Info) Marshal() (dAtA []byte, err error)
- func (m *Info) MarshalTo(dAtA []byte) (int, error)
- func (*Info) ProtoMessage()
- func (m *Info) Reset()
- func (m *Info) Size() (n int)
- func (m *Info) String() string
- func (m *Info) Unmarshal(dAtA []byte) error
Constants ¶
View Source
const ( StateOpen = int32(0) AttrNo = int32(0) AttrYes = int32(1) AttrBitBadgepay = uint(18) AttrBitUGCPay = uint(22) AttrBitIsPGC = uint(9) )
is
Variables ¶
View Source
var ( ErrInvalidLengthModel = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowModel = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct { Aid int64 `protobuf:"varint,1,opt,name=aid,proto3" json:"aid,omitempty"` Cids []int64 `protobuf:"varint,2,rep,packed,name=cids" json:"cids,omitempty"` State int32 `protobuf:"varint,3,opt,name=state,proto3" json:"state,omitempty"` Mid int64 `protobuf:"varint,4,opt,name=mid,proto3" json:"mid,omitempty"` Attribute int32 `protobuf:"varint,5,opt,name=attribute,proto3" json:"attribute,omitempty"` }
func (*Info) Descriptor ¶
func (*Info) GetAttribute ¶
func (*Info) ProtoMessage ¶
func (*Info) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.