msgs

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Status_name = map[int32]string{
	0: "ACTIVE",
	1: "INACTIVE",
}
View Source
var Status_value = map[string]int32{
	"ACTIVE":   0,
	"INACTIVE": 1,
}

Functions

This section is empty.

Types

type LedgerMetadata

type LedgerMetadata struct {
	Status               Status   `protobuf:"varint,1,opt,name=status,proto3,enum=msgs.Status" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

LedgerMetadata specifies the metadata of a ledger

func (*LedgerMetadata) Descriptor

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

func (*LedgerMetadata) GetStatus

func (m *LedgerMetadata) GetStatus() Status

func (*LedgerMetadata) ProtoMessage

func (*LedgerMetadata) ProtoMessage()

func (*LedgerMetadata) Reset

func (m *LedgerMetadata) Reset()

func (*LedgerMetadata) String

func (m *LedgerMetadata) String() string

func (*LedgerMetadata) XXX_DiscardUnknown

func (m *LedgerMetadata) XXX_DiscardUnknown()

func (*LedgerMetadata) XXX_Marshal

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

func (*LedgerMetadata) XXX_Merge

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

func (*LedgerMetadata) XXX_Size

func (m *LedgerMetadata) XXX_Size() int

func (*LedgerMetadata) XXX_Unmarshal

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

type Status

type Status int32

Status specifies the status of a ledger

const (
	Status_ACTIVE   Status = 0
	Status_INACTIVE Status = 1
)

func (Status) EnumDescriptor

func (Status) EnumDescriptor() ([]byte, []int)

func (Status) String

func (x Status) String() string

Jump to

Keyboard shortcuts

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