server

package
v0.0.0-...-0f9ccff Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Routes

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

func NewRoutes

func NewRoutes(db db.Database, auth auth.Authenticator, metricsutil metricsutil.Metrics) *Routes

func (*Routes) Setup

func (r *Routes) Setup(router *gin.Engine)

type Server

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

func NewServer

func NewServer(db db.Database, auth auth.Authenticator, metricsutil metricsutil.Metrics) *Server

func (*Server) Start

func (s *Server) Start(addr string) error

Jump to

Keyboard shortcuts

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