rest

package
v0.0.0-...-116427d Latest Latest
Warning

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

Go to latest
Published: May 20, 2023 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttachFunctions

func AttachFunctions(config *config.Config, router *mux.Router, db *database.DB, logger log15.Logger) error

AttachFunctions attaches all the REST API functions to the provided router

Types

type EventsLogHandler

type EventsLogHandler struct {
}

EventsLogHandler represents a log15 handler for the /1.0/events API

func (EventsLogHandler) Log

func (h EventsLogHandler) Log(rec *log15.Record) error

Log send a log message through websocket

Jump to

Keyboard shortcuts

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