simplehttp

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnWebsocket added in v0.3.5

func ConnWebsocket(cc *appapi.Components) func(w http.ResponseWriter, r *http.Request) error

func GrpcToHttp

func GrpcToHttp[req, resp proto.Message](function func(context.Context, req) (resp, error)) func(http.ResponseWriter, *http.Request) error

func HandleFront added in v0.3.5

func HandleFront(mux *http.ServeMux)

func ServeHTTP

func ServeHTTP(o *appapi.Components)

func Server added in v0.3.5

func Server(o *appapi.Components)

Types

This section is empty.

Jump to

Keyboard shortcuts

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