web

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2020 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(cnf *configure.Configure, debug bool)

Run .

Types

type Server

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

Server 服務器

func NewServer

func NewServer(l net.Listener) (server *Server, e error)

NewServer 創建 服務器

func (*Server) Serve

func (s *Server) Serve() error

Serve .

func (*Server) ServeTLS

func (s *Server) ServeTLS(certFile, keyFile string) error

ServeTLS .

Jump to

Keyboard shortcuts

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