app

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: CC0-1.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	Type   string `json:"type"`
	Detail string `json:"detail"`
}

type Event

type Event struct {
	Type    string `json:"type"`
	Message any    `json:"message"`
}

type Server

type Server struct {
	Logf           func(f string, v ...interface{})
	EventPublisher *controller.EventPublisher
}

func (Server) ServeHTTP

func (s Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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