api

package
v0.0.0-...-7a5b77a Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAuthenticated

func IsAuthenticated(ctx *gin.Context)

IsAuthenticated is a middleware that checks if the user has already been authenticated previously.

Types

type Server

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

func NewServer

func NewServer(auth *authenticator.Authenticator) *Server

func (*Server) StartServer

func (s *Server) StartServer(address string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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