http2

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2019 License: GPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server added in v0.6.0

type Server struct {
	Interface   string
	Port        int
	Protocol    string
	Key         string
	Certificate string
	Server      interface{}
	Mux         *http.ServeMux
}

Server is a structure for creating and instantiating new server objects

func New added in v0.6.0

func New(iface string, port int, protocol string, key string, certificate string) (Server, error)

New instantiates a new server object and returns it

func (*Server) Run added in v0.6.0

func (s *Server) Run() error

Run function starts the server on the preconfigured port for the preconfigured service

Jump to

Keyboard shortcuts

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