jsclient

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2018 License: MIT Imports: 11 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 {
	JoinReq(pl backend.JoinReqPayload) (backend.JoinAnsPayload, error)
	RejoinReq(pl backend.RejoinReqPayload) (backend.RejoinAnsPayload, error)
}

Client defines the join-server client interface.

func NewClient

func NewClient(server, caCert, tlsCert, tlsKey string) (Client, error)

NewClient creates a new join-server client.

type Pool

type Pool interface {
	Get(joinEUI lorawan.EUI64) (Client, error)
}

Pool defines the join-server client pool.

func NewPool

func NewPool(defaultClient Client) Pool

NewPool creates a new Pool.

Jump to

Keyboard shortcuts

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