lacodex

package module
v0.0.0-...-5d631fd Latest Latest
Warning

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

Go to latest
Published: May 24, 2019 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WsHandler

func WsHandler(ps *pubsub.PubSub, q WsQueryFunc) http.HandlerFunc

Types

type Config

type Config struct {
	DbPath     string `json:"db"`
	ListenAddr string `json:"listen"`
}

Config contains the configuration for LaCodex.

type LaCodex

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

LaCodex is an instance of LaCodex.

func NewLaCodex

func NewLaCodex(config *Config) (*LaCodex, error)

NewLaCodex creates a new LaCodex instance.

func (*LaCodex) Run

func (l *LaCodex) Run() error

func (*LaCodex) Shutdown

func (l *LaCodex) Shutdown()

type WsQueryFunc

type WsQueryFunc func(w io.Writer) error

Directories

Path Synopsis
cmd
scripts

Jump to

Keyboard shortcuts

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