iothub

package
v0.0.0-...-ef9407b Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2017 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BrokerStatusInvalid = "invalid"
	BrokerStatusStarted = "started"
	BrokerStatusStoped  = "stoped"
)
View Source
const APIHEAD = "iothub/api/v1/"

Variables

This section is empty.

Functions

func InitializeIothub

func InitializeIothub(c core.Config) error

InitializeIothub create iothub global instance at startup time

func RunWithConfigFile

func RunWithConfigFile(fileName string) error

RunWithConfigFile create and start iothub with config file

Types

type ApiService

type ApiService struct {
	// contains filtered or unexported fields
}

func (*ApiService) Name

func (this *ApiService) Name() string

Name

func (*ApiService) Start

func (this *ApiService) Start() error

Start

func (*ApiService) Stop

func (this *ApiService) Stop()

Stop

type ApiServiceFactory

type ApiServiceFactory struct{}

ApiServiceFactory

func (*ApiServiceFactory) New

func (this *ApiServiceFactory) New(protocol string, c core.Config, ch chan core.ServiceCommand) (core.Service, error)

New create apiService service factory

type Broker

type Broker struct {
	// contains filtered or unexported fields
}

type BrokerStatus

type BrokerStatus string

type Iothub

type Iothub struct {
	sync.Once
	// contains filtered or unexported fields
}

type NotifyService

type NotifyService struct {
	// contains filtered or unexported fields
}

func (*NotifyService) Name

func (this *NotifyService) Name() string

Name

func (*NotifyService) Start

func (this *NotifyService) Start() error

Start

func (*NotifyService) Stop

func (this *NotifyService) Stop()

Stop

type NotifyServiceFactory

type NotifyServiceFactory struct{}

NotifyServiceFactory

func (*NotifyServiceFactory) New

func (m *NotifyServiceFactory) New(protocol string, c core.Config, ch chan core.ServiceCommand) (core.Service, error)

New create apiService service factory

type Tenant

type Tenant struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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