server

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2022 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BasicAuthMiddleware

func BasicAuthMiddleware(s *Server, next echo.HandlerFunc) echo.HandlerFunc

Use session to store user.id.

Types

type Server

type Server struct {
	Profile *profile.Profile

	Store *store.Store
	// contains filtered or unexported fields
}

func NewServer

func NewServer(profile *profile.Profile) *Server

func (*Server) Run

func (server *Server) Run() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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