server

package
v0.0.0-...-588ec63 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: MIT Imports: 6 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 {
	Router   *chi.Mux
	DB       *pgxpool.Pool
	Services *services.Services
}

Server provides functions for the server

func NewServer

func NewServer(db *pgxpool.Pool, token string) *Server

NewServer creates a new Server instance

func (*Server) Run

func (s *Server) Run()

Run runs the server

Directories

Path Synopsis
auth

Jump to

Keyboard shortcuts

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