app

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handlers

type Handlers struct {
	/* Put handlers here*/
	ZKHandler *handlers.ZKHandler
}

Handlers contain supported handlers by server

func (*Handlers) Routes

func (s *Handlers) Routes() chi.Router

Routes initializes router

type Server

type Server struct {
	Routes chi.Router
}

Server instance of chi server

func NewServer

func NewServer(router chi.Router) *Server

NewServer creates new instance of server with routes

func (*Server) Run

func (s *Server) Run(port int)

Run starts the server

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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