server

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const InternalServerError string = "internal server error"

Variables

View Source
var (
	CodeChallenge oauth2.AuthCodeOption
	ResponseType  oauth2.AuthCodeOption = oauth2.SetAuthURLParam("response_type", "code")
	GrantType     oauth2.AuthCodeOption = oauth2.SetAuthURLParam("grant_type", "authorization_code")
	CodeVerify    oauth2.AuthCodeOption
)

Functions

func NewRouter

func NewRouter(cfg *domain.Config, db *database.DB, n *domain.Notification, log zerolog.Logger) chi.Router

Types

type Server

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

func NewServer

func NewServer(cfg *domain.Config, n *domain.Notification, db *database.DB, log *zerolog.Logger) *Server

func (*Server) Start

func (s *Server) Start()

Jump to

Keyboard shortcuts

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