handler

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(w http.ResponseWriter, r *http.Request)

func Get

func Get(w http.ResponseWriter, r *http.Request)

func Post

func Post(w http.ResponseWriter, r *http.Request)

Types

type ResponseFailure

type ResponseFailure struct {
	Cause string `json:"cause"`
}

type ResponseSuccess

type ResponseSuccess struct {
	Field1 string `json:"field-1"`
}

type Test

type Test struct {
	ID     string `json:"id" example:"id-1"`
	Field1 int    `json:"field-1" example:"1"`
	Field2 string `json:"field-2" example:"value-2"`
}

Jump to

Keyboard shortcuts

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