api

package
v0.0.0-...-875f0a1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter(h *Handler, cfg *utils.Config) *chi.Mux

Returns a fully mounted Chi router

Types

type APIFunc

type APIFunc func(c *handlers.Ctx) error

API func signature for the handler methods

type Handler

type Handler struct {
	View *handlers.ViewHandler
}

func NewHandler

func NewHandler(store *storage.Store) *Handler

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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