client

package
v0.0.0-...-e2d3c20 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2018 License: MIT Imports: 2 Imported by: 1

Documentation

Overview

Package client is a simple connector to counter gRPC service

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Count

type Count struct {
	Service pb.CounterClient
	// contains filtered or unexported fields
}

Count holds gRPC connection & service

func NewClient

func NewClient(address string, opts ...grpc.DialOption) (*Count, error)

NewClient creates a gRPC connection & service

func (*Count) Close

func (c *Count) Close()

Close client connection

Jump to

Keyboard shortcuts

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