sensordb

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: May 27, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSensorDBClient

func NewSensorDBClient(conn gopi.RPCClientConn) gopi.RPCClient

Types

type Client

type Client struct {
	pb.SensorDBClient
	// contains filtered or unexported fields
}

func (*Client) Conn

func (this *Client) Conn() gopi.RPCClientConn

func (*Client) NewContext

func (this *Client) NewContext() context.Context

func (*Client) Ping

func (this *Client) Ping() error

func (*Client) String

func (this *Client) String() string

type Service

type Service struct {
	Server   gopi.RPCServer
	Database sensors.Database
}

func (Service) Open

func (config Service) Open(log gopi.Logger) (gopi.Driver, error)

Open the server

Jump to

Keyboard shortcuts

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