prombridge

package
v0.0.0-...-1ff4feb Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Manage

func Manage(b *Bridge) node.Node

Types

type Bridge

type Bridge struct {
	RenderMetrics RenderMetrics

	Modules Modules
	// contains filtered or unexported fields
}

func NewBridge

func NewBridge(d device.Device) *Bridge

func (*Bridge) Apply

func (b *Bridge) Apply(options Options) error

func (*Bridge) Options

func (b *Bridge) Options() Options

func (*Bridge) ServeHTTP

func (b *Bridge) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Modules

type Modules struct {
	Ignore []string
}

type Options

type Options struct {
	Port           string // ":2112"
	UseLocalServer bool
}

type RenderMetrics

type RenderMetrics struct {
	Duration time.Duration
	Count    int64
}

Jump to

Keyboard shortcuts

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