api

package
v0.0.0-...-c0aa622 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupRouter

func SetupRouter(s *APIServer) *gin.Engine

func SetupRoutes

func SetupRoutes(r *gin.Engine, s *APIServer)

Types

type APIServer

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

func NewAPIServer

func NewAPIServer(listenAddr string, db *sqlx.DB, origin string) *APIServer

func (*APIServer) Run

func (s *APIServer) Run()

Jump to

Keyboard shortcuts

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