health

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 health is a generated protocol buffer package.

It is generated from these files:

health.proto

It has these top-level messages:

ServiceStatus
StatusRequest
StatusResponse

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterHealthServiceServer

func RegisterHealthServiceServer(s *grpc.Server, srv HealthServiceServer)

Types

type HealthServiceClient

type HealthServiceClient interface {
	Status(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusResponse, error)
}

func NewHealthServiceClient

func NewHealthServiceClient(cc *grpc.ClientConn) HealthServiceClient

type HealthServiceServer

type HealthServiceServer interface {
	Status(context.Context, *StatusRequest) (*StatusResponse, error)
}

type ServiceStatus

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

func (*ServiceStatus) Descriptor

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

func (*ServiceStatus) GetName

func (m *ServiceStatus) GetName() string

func (*ServiceStatus) GetStatus

func (m *ServiceStatus) GetStatus() string

func (*ServiceStatus) GetText

func (m *ServiceStatus) GetText() string

func (*ServiceStatus) ProtoMessage

func (*ServiceStatus) ProtoMessage()

func (*ServiceStatus) Reset

func (m *ServiceStatus) Reset()

func (*ServiceStatus) String

func (m *ServiceStatus) String() string

type StatusRequest

type StatusRequest struct {
}

func (*StatusRequest) Descriptor

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

func (*StatusRequest) ProtoMessage

func (*StatusRequest) ProtoMessage()

func (*StatusRequest) Reset

func (m *StatusRequest) Reset()

func (*StatusRequest) String

func (m *StatusRequest) String() string

type StatusResponse

type StatusResponse struct {
	Services []*ServiceStatus `protobuf:"bytes,1,rep,name=services" json:"services,omitempty"`
}

func (*StatusResponse) Descriptor

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

func (*StatusResponse) GetServices

func (m *StatusResponse) GetServices() []*ServiceStatus

func (*StatusResponse) ProtoMessage

func (*StatusResponse) ProtoMessage()

func (*StatusResponse) Reset

func (m *StatusResponse) Reset()

func (*StatusResponse) String

func (m *StatusResponse) String() string

Jump to

Keyboard shortcuts

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