vcheck: github.com/anjmao/vcheck/client Index | Files

package client

import "github.com/anjmao/vcheck/client"

Index

Package Files

client.go grpc_client.go http_client.go

type Client Uses

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

func NewGRPC Uses

func NewGRPC(target string, method string) Client

func NewHTTP Uses

func NewHTTP(target string, method string) Client

type GetVersionReply Uses

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

func (GetVersionReply) ProtoMessage Uses

func (GetVersionReply) ProtoMessage()

func (GetVersionReply) Reset Uses

func (GetVersionReply) Reset()

func (GetVersionReply) String Uses

func (GetVersionReply) String() string

type GetVersionRequest Uses

type GetVersionRequest struct {
}

func (GetVersionRequest) ProtoMessage Uses

func (GetVersionRequest) ProtoMessage()

func (GetVersionRequest) Reset Uses

func (GetVersionRequest) Reset()

func (GetVersionRequest) String Uses

func (GetVersionRequest) String() string

Package client imports 8 packages (graph) and is imported by 1 packages. Updated 2019-04-10. Refresh now. Tools for package owners.