client

package
v0.0.0-...-ceeb01a Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	GetVersion(ctx context.Context) (*GetVersionReply, error)
}

func NewGRPC

func NewGRPC(target string, method string) Client

func NewHTTP

func NewHTTP(target string, method string) Client

type GetVersionReply

type GetVersionReply struct {
	BuildVersion string `protobuf:"bytes,1,opt,name=buildVersion,proto3" json:"buildVersion,omitempty"`
}

func (GetVersionReply) ProtoMessage

func (GetVersionReply) ProtoMessage()

func (GetVersionReply) Reset

func (GetVersionReply) Reset()

func (GetVersionReply) String

func (GetVersionReply) String() string

type GetVersionRequest

type GetVersionRequest struct {
}

func (GetVersionRequest) ProtoMessage

func (GetVersionRequest) ProtoMessage()

func (GetVersionRequest) Reset

func (GetVersionRequest) Reset()

func (GetVersionRequest) String

func (GetVersionRequest) String() string

Jump to

Keyboard shortcuts

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