handler

package
v0.0.0-...-b653306 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2024 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleFunc

func HandleFunc(pattern string, fn http.HandlerFunc)

func ListenAndServe

func ListenAndServe(handler http.Handler) error

func OK

func OK[Shape, T, Err any](val cm.Result[Shape, T, Err]) *T

func OKOrPanic

func OKOrPanic[Shape, T, Err any](val cm.Result[Shape, T, Err]) *T

func Some

func Some[T any](val cm.Option[T]) *T

Types

This section is empty.

Jump to

Keyboard shortcuts

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