entries

package
v0.0.0-...-33acbe3 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry interface {
	Serve()
}

func GetEntry

func GetEntry(cfg []byte, bus buses.BusCreator, block blocks.Block) (Entry, error)

type EntryCfg

type EntryCfg struct {
	Type string `json:"type"`
}

type HTTP

type HTTP struct {
	Listen     string
	BusCreator buses.BusCreator
	Block      blocks.Block
}

func (*HTTP) Serve

func (e *HTTP) Serve()

func (*HTTP) ServeHTTP

func (e *HTTP) ServeHTTP(w http.ResponseWriter, r *http.Request)

type HTTPCfg

type HTTPCfg struct {
	Listen string `json:"listen"`
}

Jump to

Keyboard shortcuts

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