http

package
v0.0.0-...-1ca2d18 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrEmptyCreatePasteBody = errors.New("empty reponse body not allowed for createPaste")

Functions

func New

func New(config config.Config, template template.Template, paste paste.Paste, validator *validator.Validator) *server

New returns a new instance of server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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