v1

package
v0.0.0-...-258e4f8 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mux

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

This is the managing mux structure All core aspects necessary to instantiate it should be provided below.

func New

func New(logger *slog.Logger, sessionManager *scs.SessionManager, db *pgxpool.Pool) *Mux

func (*Mux) Routes

func (m *Mux) Routes() http.Handler

type UserInfo

type UserInfo struct {
	ID    int    `json:"id"`
	Login string `json:"login"`
}

Jump to

Keyboard shortcuts

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