server

package
v0.0.0-...-667b3ce Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SessionGet

func SessionGet[T any](name string, c echo.Context) (T, error)

func SessionPut

func SessionPut[T any](name string, value T, c echo.Context) error

Types

type Server

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

func New

func New(
	logger *zap.Logger,
	client db.Client,
	sessionSecret string,
) *Server

func (*Server) Start

func (s *Server) Start(port int) error

Jump to

Keyboard shortcuts

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