api

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package membership is a generated protocol buffer package.

It is generated from these files:

peers.proto

It has these top-level messages:

PeerEndpoint
PeerEndpoints

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PeerEndpoint

type PeerEndpoint struct {
	Endpoint         string `protobuf:"bytes,1,opt,name=Endpoint,json=endpoint" json:"Endpoint,omitempty"`
	InternalEndpoint string `protobuf:"bytes,2,opt,name=InternalEndpoint,json=internalEndpoint" json:"InternalEndpoint,omitempty"`
	MSPid            []byte `protobuf:"bytes,3,opt,name=MSPid,json=mSPid,proto3" json:"MSPid,omitempty"`
}

PeerEndpoint contains the internal and external endpoint of a peer

func (*PeerEndpoint) Descriptor

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

func (*PeerEndpoint) GetEndpoint

func (m *PeerEndpoint) GetEndpoint() string

func (*PeerEndpoint) GetInternalEndpoint

func (m *PeerEndpoint) GetInternalEndpoint() string

func (*PeerEndpoint) GetMSPid

func (m *PeerEndpoint) GetMSPid() []byte

func (*PeerEndpoint) ProtoMessage

func (*PeerEndpoint) ProtoMessage()

func (*PeerEndpoint) Reset

func (m *PeerEndpoint) Reset()

func (*PeerEndpoint) String

func (m *PeerEndpoint) String() string

type PeerEndpoints

type PeerEndpoints struct {
	Endpoints []*PeerEndpoint `protobuf:"bytes,1,rep,name=Endpoints,json=endpoints" json:"Endpoints,omitempty"`
}

PeerEndpoints contains a list of peer endpoints

func (*PeerEndpoints) Descriptor

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

func (*PeerEndpoints) GetEndpoints

func (m *PeerEndpoints) GetEndpoints() []*PeerEndpoint

func (*PeerEndpoints) ProtoMessage

func (*PeerEndpoints) ProtoMessage()

func (*PeerEndpoints) Reset

func (m *PeerEndpoints) Reset()

func (*PeerEndpoints) String

func (m *PeerEndpoints) String() string

Jump to

Keyboard shortcuts

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