types

package
v0.0.0-...-bb61026 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIError

type APIError struct {
	Msg        any `json:"msg"`
	StatusCode int `json:"statusCode"`
}

TODO: Set up friendly message to the user

func (APIError) Error

func (e APIError) Error() string

func (APIError) Render

func (e APIError) Render(w http.ResponseWriter, r *http.Request) error

type Omit

type Omit *struct{}

Jump to

Keyboard shortcuts

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