api

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedirectAPI added in v0.3.0

type RedirectAPI struct {
	Router *mux.Router
	Store  *store.Datastore
}

RedirectAPI provides a struct to wrap the api around

func Setup

func Setup(ctx context.Context, r *mux.Router, store *store.Datastore) *RedirectAPI

Setup function sets up the api and returns an api

Jump to

Keyboard shortcuts

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