srvhttp

package
v0.0.0-...-f715ac0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2019 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package srvhttp takes care of the HTTP stuff.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bind

func Bind() (listenHTTP, listenHTTPS net.Listener)

Bind the sockets.

func MakeRootCert

func MakeRootCert()

MakeRootCert makes a new root certificate. NOTE: Assumes that it is run *BEFORE* chroot(). See chroot() in main.go

func MakeRootKey

func MakeRootKey() error

MakeRootKey makes a new root key. NOTE: Assumes that it is run *BEFORE* chroot(). See chroot() in main.go

func Serve

func Serve(listenHTTP, listenHTTPS net.Listener)

Serve HTTP requests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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