optron

package
v0.0.0-...-0c20f88 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2018 License: BSD-2-Clause-Views Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigOptronDef

type ConfigOptronDef struct {
	Address        string
	HasBulkSupport bool `json:",string"`
	BatchSize      int  `json:",string"`
}

type Logger

type Logger interface {
	Printf(format string, v ...interface{})
}

type Optron

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

func New

func New(name, configUri string, interval time.Duration, l Logger) (*Optron, error)

func NewForGame

func NewForGame(game, name, configUri string, interval time.Duration, l Logger) (*Optron, error)

func (*Optron) Start

func (this *Optron) Start()

type OptronObjBuilder

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

Jump to

Keyboard shortcuts

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