handlers

package
v0.0.0-...-41ba3ca Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPServer

type HTTPServer struct {
	Server *http.Server
	Router *gin.Engine
	Opt    Options
	Repo   map[string]string
}

func NewHTTPServer

func NewHTTPServer(opt Options, repo map[string]string) (*HTTPServer, error)

func (*HTTPServer) Start

func (s *HTTPServer) Start() error

Start the main HTTP Server entry

type Options

type Options struct {
	Readonly bool
}

Jump to

Keyboard shortcuts

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