entrypoint

package
v0.9.8 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoSuchRoute = errors.New("no such route")

Functions

This section is empty.

Types

type Entrypoint

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

func NewEntrypoint

func NewEntrypoint() *Entrypoint

func (*Entrypoint) ServeHTTP

func (ep *Entrypoint) ServeHTTP(w http.ResponseWriter, r *http.Request)

func (*Entrypoint) SetAccessLogger

func (ep *Entrypoint) SetAccessLogger(parent task.Parent, cfg *accesslog.Config) (err error)

func (*Entrypoint) SetFindRouteDomains

func (ep *Entrypoint) SetFindRouteDomains(domains []string)

func (*Entrypoint) SetMiddlewares

func (ep *Entrypoint) SetMiddlewares(mws []map[string]any) error

Jump to

Keyboard shortcuts

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