plugin

package
v0.0.0-...-80dc71f Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct {
	StaticFiles http.FileSystem
	// contains filtered or unexported fields
}

func (*Plugin) HandleAPI

func (plugin *Plugin) HandleAPI(pattern string, handler func(r *Request) error)

func (*Plugin) Start

func (plugin *Plugin) Start(addr string) error

type Request

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

func (*Request) Context

func (r *Request) Context() context.Context

func (*Request) GetRequest

func (r *Request) GetRequest(request any) error

func (*Request) SendResponse

func (r *Request) SendResponse(response any) error

Jump to

Keyboard shortcuts

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