webui

package
v0.0.0-...-b8330c8 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WSHook

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

func NewWSHook

func NewWSHook(ws *websocket.Conn) *WSHook

func (*WSHook) Fire

func (hook *WSHook) Fire(entry *logrus.Entry) error

func (*WSHook) Levels

func (hook *WSHook) Levels() []logrus.Level

type WebUI

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

func NewWebUI

func NewWebUI(logger *logrus.Entry, cfg *config.Config) (*WebUI, error)

func (*WebUI) Serve

func (w *WebUI) Serve() error

Jump to

Keyboard shortcuts

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