client

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package client is a generated protocol buffer package.

It is generated from these files:

healthz.proto

It has these top-level messages:

Request
Reply

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Test

func Test(ctx context.Context, protocol, endpoint string, expected Reply) (err error)

Test is the function to call provider health check api and check the response

Types

type Reply

type Reply struct {
	AppId       string `protobuf:"bytes,1,opt,name=appId" json:"appId,omitempty"`
	ServiceName string `protobuf:"bytes,2,opt,name=serviceName" json:"serviceName,omitempty"`
	Version     string `protobuf:"bytes,3,opt,name=version" json:"version,omitempty"`
}

The response message containing the greetings

func (*Reply) Descriptor

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

func (*Reply) GetAppId

func (m *Reply) GetAppId() string

func (*Reply) GetServiceName

func (m *Reply) GetServiceName() string

func (*Reply) GetVersion

func (m *Reply) GetVersion() string

func (*Reply) ProtoMessage

func (*Reply) ProtoMessage()

func (*Reply) Reset

func (m *Reply) Reset()

func (*Reply) String

func (m *Reply) String() string

type Request

type Request struct {
}

The request message containing the user's name.

func (*Request) Descriptor

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

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) String

func (m *Request) String() string

Jump to

Keyboard shortcuts

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