oprencoding

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2020 License: MIT Imports: 3 Imported by: 0

README

Protobufs

These are auto generated *.go files from the*.proto schemas.

To generate

Using https://github.com/golang/protobuf,

protoc --go_out=. *.proto

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProtoOPR

type ProtoOPR struct {
	Address              string   `protobuf:"bytes,1,opt,name=Address,proto3" json:"Address,omitempty"`
	ID                   string   `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
	Height               int32    `protobuf:"varint,3,opt,name=Height,proto3" json:"Height,omitempty"`
	Winners              [][]byte `protobuf:"bytes,4,rep,name=Winners,proto3" json:"Winners,omitempty"`
	Assets               []uint64 `protobuf:"varint,5,rep,packed,name=Assets,proto3" json:"Assets,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ProtoOPR) Descriptor

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

func (*ProtoOPR) GetAddress

func (m *ProtoOPR) GetAddress() string

func (*ProtoOPR) GetAssets

func (m *ProtoOPR) GetAssets() []uint64

func (*ProtoOPR) GetHeight

func (m *ProtoOPR) GetHeight() int32

func (*ProtoOPR) GetID

func (m *ProtoOPR) GetID() string

func (*ProtoOPR) GetWinners

func (m *ProtoOPR) GetWinners() [][]byte

func (*ProtoOPR) ProtoMessage

func (*ProtoOPR) ProtoMessage()

func (*ProtoOPR) Reset

func (m *ProtoOPR) Reset()

func (*ProtoOPR) String

func (m *ProtoOPR) String() string

func (*ProtoOPR) XXX_DiscardUnknown

func (m *ProtoOPR) XXX_DiscardUnknown()

func (*ProtoOPR) XXX_Marshal

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

func (*ProtoOPR) XXX_Merge

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

func (*ProtoOPR) XXX_Size

func (m *ProtoOPR) XXX_Size() int

func (*ProtoOPR) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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