api

package
v0.0.0-...-b2b7553 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter(app application.Application) (*gin.Engine, error)

New - creates new instance of gin.Engine

func NewWebRouter

func NewWebRouter(r *gin.RouterGroup, app application.Application) (web *gin.RouterGroup)

Types

type Server

type Server struct {
	*http.Server
}

Server strcut

func NewServer

func NewServer() (*Server, error)

NewServer - creates Server instance

func (*Server) Start

func (srv *Server) Start()

Start - starts server

Directories

Path Synopsis
handler

Jump to

Keyboard shortcuts

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