m2m_client

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetPool

func SetPool(pp Pool)

func Setup

func Setup(conf config.Config) error

Types

type Pool

type Pool interface {
	Get(hostname string, caCert, tlsCert, tlsKey []byte) (m2m.M2MServerServiceClient, error)
}

Pool defines the m2m server client pool. Actually this connection pool is not necessary now for m2m client, because there is only one m2m server.

func GetPool

func GetPool() Pool

Jump to

Keyboard shortcuts

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