Documentation ¶
Index ¶
- type AdService
- func (*AdService) Descriptor() ([]byte, []int)
- func (m *AdService) GetAmountTime() *duration.Duration
- func (m *AdService) GetContentType() string
- func (m *AdService) GetPrice() uint32
- func (m *AdService) GetTarget() *AdTarget
- func (*AdService) ProtoMessage()
- func (m *AdService) Reset()
- func (m *AdService) String() string
- func (m *AdService) XXX_DiscardUnknown()
- func (m *AdService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AdService) XXX_Merge(src proto.Message)
- func (m *AdService) XXX_Size() int
- func (m *AdService) XXX_Unmarshal(b []byte) error
- type AdTarget
- func (*AdTarget) Descriptor() ([]byte, []int)
- func (m *AdTarget) GetAge() []bool
- func (m *AdTarget) GetSex() []bool
- func (*AdTarget) ProtoMessage()
- func (m *AdTarget) Reset()
- func (m *AdTarget) String() string
- func (m *AdTarget) XXX_DiscardUnknown()
- func (m *AdTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AdTarget) XXX_Merge(src proto.Message)
- func (m *AdTarget) XXX_Size() int
- func (m *AdTarget) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdService ¶
type AdService struct { Target *AdTarget `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` ContentType string `protobuf:"bytes,2,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` AmountTime *duration.Duration `protobuf:"bytes,3,opt,name=amount_time,json=amountTime,proto3" json:"amount_time,omitempty"` Price uint32 `protobuf:"varint,4,opt,name=price,proto3" json:"price,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AdService) Descriptor ¶
func (*AdService) GetAmountTime ¶
func (*AdService) GetContentType ¶
func (*AdService) ProtoMessage ¶
func (*AdService) ProtoMessage()
func (*AdService) XXX_DiscardUnknown ¶
func (m *AdService) XXX_DiscardUnknown()
func (*AdService) XXX_Marshal ¶
func (*AdService) XXX_Unmarshal ¶
type AdTarget ¶
type AdTarget struct { Age []bool `protobuf:"varint,1,rep,packed,name=age,proto3" json:"age,omitempty"` Sex []bool `protobuf:"varint,2,rep,packed,name=sex,proto3" json:"sex,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AdTarget) Descriptor ¶
func (*AdTarget) ProtoMessage ¶
func (*AdTarget) ProtoMessage()
func (*AdTarget) XXX_DiscardUnknown ¶
func (m *AdTarget) XXX_DiscardUnknown()
func (*AdTarget) XXX_Marshal ¶
func (*AdTarget) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.