pb

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: May 15, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthMessage        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMessage          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type Membership

type Membership struct {
	Signer  []byte `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	Channel string `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,omitempty"`
}

func (*Membership) Descriptor

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

func (*Membership) Equal

func (this *Membership) Equal(that interface{}) bool

func (*Membership) GetChannel

func (m *Membership) GetChannel() string

func (*Membership) GetSigner

func (m *Membership) GetSigner() []byte

func (*Membership) GoString

func (this *Membership) GoString() string

func (*Membership) Marshal

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

func (*Membership) MarshalTo

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

func (*Membership) MarshalToSizedBuffer

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

func (*Membership) ProtoMessage

func (*Membership) ProtoMessage()

func (*Membership) Reset

func (m *Membership) Reset()

func (*Membership) Size

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

func (*Membership) String

func (this *Membership) String() string

func (*Membership) Unmarshal

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

func (*Membership) XXX_DiscardUnknown

func (m *Membership) XXX_DiscardUnknown()

func (*Membership) XXX_Marshal

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

func (*Membership) XXX_Merge

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

func (*Membership) XXX_Size

func (m *Membership) XXX_Size() int

func (*Membership) XXX_Unmarshal

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

type ThresholdSigner

type ThresholdSigner struct {
	MemberIndex          uint32            `protobuf:"varint,1,opt,name=memberIndex,proto3" json:"memberIndex,omitempty"`
	GroupPublicKey       []byte            `protobuf:"bytes,2,opt,name=groupPublicKey,proto3" json:"groupPublicKey,omitempty"`
	GroupPrivateKeyShare string            `protobuf:"bytes,3,opt,name=groupPrivateKeyShare,proto3" json:"groupPrivateKeyShare,omitempty"`
	GroupPublicKeyShares map[uint32][]byte `` /* 182-byte string literal not displayed */
}

func (*ThresholdSigner) Descriptor

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

func (*ThresholdSigner) Equal

func (this *ThresholdSigner) Equal(that interface{}) bool

func (*ThresholdSigner) GetGroupPrivateKeyShare

func (m *ThresholdSigner) GetGroupPrivateKeyShare() string

func (*ThresholdSigner) GetGroupPublicKey

func (m *ThresholdSigner) GetGroupPublicKey() []byte

func (*ThresholdSigner) GetGroupPublicKeyShares

func (m *ThresholdSigner) GetGroupPublicKeyShares() map[uint32][]byte

func (*ThresholdSigner) GetMemberIndex

func (m *ThresholdSigner) GetMemberIndex() uint32

func (*ThresholdSigner) GoString

func (this *ThresholdSigner) GoString() string

func (*ThresholdSigner) Marshal

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

func (*ThresholdSigner) MarshalTo

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

func (*ThresholdSigner) MarshalToSizedBuffer

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

func (*ThresholdSigner) ProtoMessage

func (*ThresholdSigner) ProtoMessage()

func (*ThresholdSigner) Reset

func (m *ThresholdSigner) Reset()

func (*ThresholdSigner) Size

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

func (*ThresholdSigner) String

func (this *ThresholdSigner) String() string

func (*ThresholdSigner) Unmarshal

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

func (*ThresholdSigner) XXX_DiscardUnknown

func (m *ThresholdSigner) XXX_DiscardUnknown()

func (*ThresholdSigner) XXX_Marshal

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

func (*ThresholdSigner) XXX_Merge

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

func (*ThresholdSigner) XXX_Size

func (m *ThresholdSigner) XXX_Size() int

func (*ThresholdSigner) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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