help_handler

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StyleCss []byte

Functions

func New

func New(
	path string, raw []proto.IRoutable,
) (proto.IApiHandler[Query, Response], error)

Types

type Query

type Query struct {
	Method string `srv:"query" name:"method" default:"GET"`
	Path   string `srv:"query" name:"path" default:""`
}

type Response added in v0.13.1

type Response struct {
	Data string
}

func (Response) IntoResponse added in v0.13.1

func (self Response) IntoResponse() types.Response

func (Response) ResponseType added in v0.13.1

func (self Response) ResponseType() reflect.Type

Jump to

Keyboard shortcuts

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