baseroutes

package module
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: MIT Imports: 6 Imported by: 0

README

baseroutes

Go Reference

Base common routes for all of our servers.

Install

go get github.com/altipla-consulting/baseroutes

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(r *routing.Router, baseTemplate string, options ...RegisterOption)

Types

type RegisterOption

type RegisterOption func(r *routing.Router)

func WithFrontend

func WithFrontend(root string) RegisterOption

Jump to

Keyboard shortcuts

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