server

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackendHandler

type BackendHandler func(c crud.Interface, writer http.ResponseWriter, request *http.Request)

type EntityHandler

type EntityHandler func(c crud.Interface, entity string, writer http.ResponseWriter, request *http.Request)

type Interface

type Interface interface {
	io.Closer
	Run() error
}

func New

func New(cfg *types.Config) Interface

type ItemHandler

type ItemHandler func(c crud.Interface, entity, id string, writer http.ResponseWriter, request *http.Request)

Jump to

Keyboard shortcuts

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