v1

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2025 License: MIT Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

@title Marmot API @version 0.1 @description API for interacting with Marmot @BasePath /api/v1 @license.name MIT @license.url https://opensource.org/license/MIT

func New

func New(config *config.Config, db *pgxpool.Pool) *Server

func (*Server) RegisterRoutes

func (s *Server) RegisterRoutes(mux *http.ServeMux)

func (*Server) Stop added in v0.3.0

func (s *Server) Stop()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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