services

package
v2.2.2-0...-90f574e Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2020 License: MIT Imports: 5 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthServices        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowServices          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupServices = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type AddBlockRequest

type AddBlockRequest struct {
	ObjectId    []byte   `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	PreviousTip []byte   `protobuf:"bytes,2,opt,name=previous_tip,json=previousTip,proto3" json:"previous_tip,omitempty"`
	Height      uint64   `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	NewTip      []byte   `protobuf:"bytes,4,opt,name=new_tip,json=newTip,proto3" json:"new_tip,omitempty"`
	Payload     []byte   `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"`
	State       [][]byte `protobuf:"bytes,6,rep,name=state,proto3" json:"state,omitempty"`
}

This is the message we currently refer to as "Transaction" at the tupelo level

func (*AddBlockRequest) Descriptor

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

func (*AddBlockRequest) GetHeight

func (m *AddBlockRequest) GetHeight() uint64

func (*AddBlockRequest) GetNewTip

func (m *AddBlockRequest) GetNewTip() []byte

func (*AddBlockRequest) GetObjectId

func (m *AddBlockRequest) GetObjectId() []byte

func (*AddBlockRequest) GetPayload

func (m *AddBlockRequest) GetPayload() []byte

func (*AddBlockRequest) GetPreviousTip

func (m *AddBlockRequest) GetPreviousTip() []byte

func (*AddBlockRequest) GetState

func (m *AddBlockRequest) GetState() [][]byte

func (*AddBlockRequest) Marshal

func (m *AddBlockRequest) Marshal() (dAtA []byte, err error)

func (*AddBlockRequest) MarshalTo

func (m *AddBlockRequest) MarshalTo(dAtA []byte) (int, error)

func (*AddBlockRequest) MarshalToSizedBuffer

func (m *AddBlockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AddBlockRequest) ProtoMessage

func (*AddBlockRequest) ProtoMessage()

func (*AddBlockRequest) Reset

func (m *AddBlockRequest) Reset()

func (*AddBlockRequest) Size

func (m *AddBlockRequest) Size() (n int)

func (*AddBlockRequest) String

func (m *AddBlockRequest) String() string

func (*AddBlockRequest) Unmarshal

func (m *AddBlockRequest) Unmarshal(dAtA []byte) error

func (*AddBlockRequest) XXX_DiscardUnknown

func (m *AddBlockRequest) XXX_DiscardUnknown()

func (*AddBlockRequest) XXX_Marshal

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

func (*AddBlockRequest) XXX_Merge

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

func (*AddBlockRequest) XXX_Size

func (m *AddBlockRequest) XXX_Size() int

func (*AddBlockRequest) XXX_Unmarshal

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

type Ping

type Ping struct {
	Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
}

func (*Ping) Descriptor

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

func (*Ping) GetMsg

func (m *Ping) GetMsg() string

func (*Ping) Marshal

func (m *Ping) Marshal() (dAtA []byte, err error)

func (*Ping) MarshalTo

func (m *Ping) MarshalTo(dAtA []byte) (int, error)

func (*Ping) MarshalToSizedBuffer

func (m *Ping) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Ping) ProtoMessage

func (*Ping) ProtoMessage()

func (*Ping) Reset

func (m *Ping) Reset()

func (*Ping) Size

func (m *Ping) Size() (n int)

func (*Ping) String

func (m *Ping) String() string

func (*Ping) Unmarshal

func (m *Ping) Unmarshal(dAtA []byte) error

func (*Ping) XXX_DiscardUnknown

func (m *Ping) XXX_DiscardUnknown()

func (*Ping) XXX_Marshal

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

func (*Ping) XXX_Merge

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

func (*Ping) XXX_Size

func (m *Ping) XXX_Size() int

func (*Ping) XXX_Unmarshal

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

type Pong

type Pong struct {
	Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
}

func (*Pong) Descriptor

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

func (*Pong) GetMsg

func (m *Pong) GetMsg() string

func (*Pong) Marshal

func (m *Pong) Marshal() (dAtA []byte, err error)

func (*Pong) MarshalTo

func (m *Pong) MarshalTo(dAtA []byte) (int, error)

func (*Pong) MarshalToSizedBuffer

func (m *Pong) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Pong) ProtoMessage

func (*Pong) ProtoMessage()

func (*Pong) Reset

func (m *Pong) Reset()

func (*Pong) Size

func (m *Pong) Size() (n int)

func (*Pong) String

func (m *Pong) String() string

func (*Pong) Unmarshal

func (m *Pong) Unmarshal(dAtA []byte) error

func (*Pong) XXX_DiscardUnknown

func (m *Pong) XXX_DiscardUnknown()

func (*Pong) XXX_Marshal

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

func (*Pong) XXX_Merge

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

func (*Pong) XXX_Size

func (m *Pong) XXX_Size() int

func (*Pong) XXX_Unmarshal

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

type ReceiveCurrentStateSnapshot

type ReceiveCurrentStateSnapshot struct {
	Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
}

func (*ReceiveCurrentStateSnapshot) Descriptor

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

func (*ReceiveCurrentStateSnapshot) GetPayload

func (m *ReceiveCurrentStateSnapshot) GetPayload() []byte

func (*ReceiveCurrentStateSnapshot) Marshal

func (m *ReceiveCurrentStateSnapshot) Marshal() (dAtA []byte, err error)

func (*ReceiveCurrentStateSnapshot) MarshalTo

func (m *ReceiveCurrentStateSnapshot) MarshalTo(dAtA []byte) (int, error)

func (*ReceiveCurrentStateSnapshot) MarshalToSizedBuffer

func (m *ReceiveCurrentStateSnapshot) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReceiveCurrentStateSnapshot) ProtoMessage

func (*ReceiveCurrentStateSnapshot) ProtoMessage()

func (*ReceiveCurrentStateSnapshot) Reset

func (m *ReceiveCurrentStateSnapshot) Reset()

func (*ReceiveCurrentStateSnapshot) Size

func (m *ReceiveCurrentStateSnapshot) Size() (n int)

func (*ReceiveCurrentStateSnapshot) String

func (m *ReceiveCurrentStateSnapshot) String() string

func (*ReceiveCurrentStateSnapshot) Unmarshal

func (m *ReceiveCurrentStateSnapshot) Unmarshal(dAtA []byte) error

func (*ReceiveCurrentStateSnapshot) XXX_DiscardUnknown

func (m *ReceiveCurrentStateSnapshot) XXX_DiscardUnknown()

func (*ReceiveCurrentStateSnapshot) XXX_Marshal

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

func (*ReceiveCurrentStateSnapshot) XXX_Merge

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

func (*ReceiveCurrentStateSnapshot) XXX_Size

func (m *ReceiveCurrentStateSnapshot) XXX_Size() int

func (*ReceiveCurrentStateSnapshot) XXX_Unmarshal

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

type RequestCurrentStateSnapshot

type RequestCurrentStateSnapshot struct {
}

func (*RequestCurrentStateSnapshot) Descriptor

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

func (*RequestCurrentStateSnapshot) Marshal

func (m *RequestCurrentStateSnapshot) Marshal() (dAtA []byte, err error)

func (*RequestCurrentStateSnapshot) MarshalTo

func (m *RequestCurrentStateSnapshot) MarshalTo(dAtA []byte) (int, error)

func (*RequestCurrentStateSnapshot) MarshalToSizedBuffer

func (m *RequestCurrentStateSnapshot) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestCurrentStateSnapshot) ProtoMessage

func (*RequestCurrentStateSnapshot) ProtoMessage()

func (*RequestCurrentStateSnapshot) Reset

func (m *RequestCurrentStateSnapshot) Reset()

func (*RequestCurrentStateSnapshot) Size

func (m *RequestCurrentStateSnapshot) Size() (n int)

func (*RequestCurrentStateSnapshot) String

func (m *RequestCurrentStateSnapshot) String() string

func (*RequestCurrentStateSnapshot) Unmarshal

func (m *RequestCurrentStateSnapshot) Unmarshal(dAtA []byte) error

func (*RequestCurrentStateSnapshot) XXX_DiscardUnknown

func (m *RequestCurrentStateSnapshot) XXX_DiscardUnknown()

func (*RequestCurrentStateSnapshot) XXX_Marshal

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

func (*RequestCurrentStateSnapshot) XXX_Merge

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

func (*RequestCurrentStateSnapshot) XXX_Size

func (m *RequestCurrentStateSnapshot) XXX_Size() int

func (*RequestCurrentStateSnapshot) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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