resty

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(mm ...middleware.Middleware)

func NewHandler

func NewHandler[T any](data *T, log *logger.Logger) *handler[T]

func RunServer

func RunServer[T any](ctx context.Context, h *handler[T], closerFns ...func(ctx context.Context) error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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