ccauthprotos

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplyTicket

type ApplyTicket struct {
	Owner                *protos.TxAddr `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Id                   []byte         `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*ApplyTicket) Descriptor

func (*ApplyTicket) Descriptor() ([]byte, []int)

func (*ApplyTicket) GetId

func (m *ApplyTicket) GetId() []byte

func (*ApplyTicket) GetOwner

func (m *ApplyTicket) GetOwner() *protos.TxAddr

func (*ApplyTicket) ProtoMessage

func (*ApplyTicket) ProtoMessage()

func (*ApplyTicket) Reset

func (m *ApplyTicket) Reset()

func (*ApplyTicket) String

func (m *ApplyTicket) String() string

func (*ApplyTicket) XXX_DiscardUnknown

func (m *ApplyTicket) XXX_DiscardUnknown()

func (*ApplyTicket) XXX_Marshal

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

func (*ApplyTicket) XXX_Merge

func (m *ApplyTicket) XXX_Merge(src proto.Message)

func (*ApplyTicket) XXX_Size

func (m *ApplyTicket) XXX_Size() int

func (*ApplyTicket) XXX_Unmarshal

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

type QueryTicket

type QueryTicket struct {
	Owner                *protos.TxAddr `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Id                   []byte         `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*QueryTicket) Descriptor

func (*QueryTicket) Descriptor() ([]byte, []int)

func (*QueryTicket) GetId

func (m *QueryTicket) GetId() []byte

func (*QueryTicket) GetOwner

func (m *QueryTicket) GetOwner() *protos.TxAddr

func (*QueryTicket) ProtoMessage

func (*QueryTicket) ProtoMessage()

func (*QueryTicket) Reset

func (m *QueryTicket) Reset()

func (*QueryTicket) String

func (m *QueryTicket) String() string

func (*QueryTicket) XXX_DiscardUnknown

func (m *QueryTicket) XXX_DiscardUnknown()

func (*QueryTicket) XXX_Marshal

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

func (*QueryTicket) XXX_Merge

func (m *QueryTicket) XXX_Merge(src proto.Message)

func (*QueryTicket) XXX_Size

func (m *QueryTicket) XXX_Size() int

func (*QueryTicket) XXX_Unmarshal

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

type Ticket

type Ticket struct {
	Owner                *protos.TxAddr `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Id                   []byte         `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	TicketCat            int32          `protobuf:"varint,3,opt,name=ticketCat,proto3" json:"ticketCat,omitempty"`
	Desc                 string         `protobuf:"bytes,4,opt,name=desc,proto3" json:"desc,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*Ticket) Descriptor

func (*Ticket) Descriptor() ([]byte, []int)

func (*Ticket) GetDesc

func (m *Ticket) GetDesc() string

func (*Ticket) GetId

func (m *Ticket) GetId() []byte

func (*Ticket) GetOwner

func (m *Ticket) GetOwner() *protos.TxAddr

func (*Ticket) GetTicketCat

func (m *Ticket) GetTicketCat() int32

func (*Ticket) ProtoMessage

func (*Ticket) ProtoMessage()

func (*Ticket) Reset

func (m *Ticket) Reset()

func (*Ticket) String

func (m *Ticket) String() string

func (*Ticket) XXX_DiscardUnknown

func (m *Ticket) XXX_DiscardUnknown()

func (*Ticket) XXX_Marshal

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

func (*Ticket) XXX_Merge

func (m *Ticket) XXX_Merge(src proto.Message)

func (*Ticket) XXX_Size

func (m *Ticket) XXX_Size() int

func (*Ticket) XXX_Unmarshal

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

type Ticket_s

type Ticket_s struct {
	// contains filtered or unexported fields
}

func (*Ticket_s) GetObject

func (n *Ticket_s) GetObject() interface{}

func (*Ticket_s) Load

func (n *Ticket_s) Load(interface{}) error

func (*Ticket_s) LoadFromPB

func (n *Ticket_s) LoadFromPB(p *Ticket) *Ticket_s

func (*Ticket_s) Save

func (n *Ticket_s) Save() interface{}

func (*Ticket_s) Serialize

func (n *Ticket_s) Serialize() ([]byte, error)

func (*Ticket_s) ToPB

func (n *Ticket_s) ToPB() *Ticket

Jump to

Keyboard shortcuts

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