info

package
v0.0.0-...-3361740 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package info is a generated protocol buffer package.

It is generated from these files:

info.proto

It has these top-level messages:

GetInfoRequest
GetInfoResponse
WebServiceStatus

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterInfoServiceServer

func RegisterInfoServiceServer(s *grpc.Server, srv InfoServiceServer)

Types

type GetInfoRequest

type GetInfoRequest struct {
}

func (*GetInfoRequest) Descriptor

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

func (*GetInfoRequest) ProtoMessage

func (*GetInfoRequest) ProtoMessage()

func (*GetInfoRequest) Reset

func (m *GetInfoRequest) Reset()

func (*GetInfoRequest) String

func (m *GetInfoRequest) String() string

type GetInfoResponse

type GetInfoResponse struct {
	Version     string              `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"`
	Webservices []*WebServiceStatus `protobuf:"bytes,2,rep,name=webservices" json:"webservices,omitempty"`
}

func (*GetInfoResponse) Descriptor

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

func (*GetInfoResponse) GetVersion

func (m *GetInfoResponse) GetVersion() string

func (*GetInfoResponse) GetWebservices

func (m *GetInfoResponse) GetWebservices() []*WebServiceStatus

func (*GetInfoResponse) ProtoMessage

func (*GetInfoResponse) ProtoMessage()

func (*GetInfoResponse) Reset

func (m *GetInfoResponse) Reset()

func (*GetInfoResponse) String

func (m *GetInfoResponse) String() string

type InfoServiceClient

type InfoServiceClient interface {
	Get(ctx context.Context, in *GetInfoRequest, opts ...grpc.CallOption) (*GetInfoResponse, error)
}

func NewInfoServiceClient

func NewInfoServiceClient(cc *grpc.ClientConn) InfoServiceClient

type InfoServiceServer

type InfoServiceServer interface {
	Get(context.Context, *GetInfoRequest) (*GetInfoResponse, error)
}

type WebServiceStatus

type WebServiceStatus struct {
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint" json:"endpoint,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	Status   string `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"`
	Text     string `protobuf:"bytes,4,opt,name=text" json:"text,omitempty"`
}

func (*WebServiceStatus) Descriptor

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

func (*WebServiceStatus) GetEndpoint

func (m *WebServiceStatus) GetEndpoint() string

func (*WebServiceStatus) GetName

func (m *WebServiceStatus) GetName() string

func (*WebServiceStatus) GetStatus

func (m *WebServiceStatus) GetStatus() string

func (*WebServiceStatus) GetText

func (m *WebServiceStatus) GetText() string

func (*WebServiceStatus) ProtoMessage

func (*WebServiceStatus) ProtoMessage()

func (*WebServiceStatus) Reset

func (m *WebServiceStatus) Reset()

func (*WebServiceStatus) String

func (m *WebServiceStatus) String() string

Jump to

Keyboard shortcuts

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