server

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: Apache-2.0 Imports: 37 Imported by: 35

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttachCertificate added in v1.4.3

func AttachCertificate(priv *jose.JSONWebKey, cert *x509.Certificate)

func EnhanceMiddleware

func EnhanceMiddleware(d driver.Driver, n *negroni.Negroni, address string, router *httprouter.Router, enableCORS bool, iface string) http.Handler

func GetOrCreateTLSCertificate added in v1.4.3

func GetOrCreateTLSCertificate(cmd *cobra.Command, d driver.Driver) []tls.Certificate

func RunServeAdmin

func RunServeAdmin(version, build, date string) func(cmd *cobra.Command, args []string)

func RunServeAll

func RunServeAll(version, build, date string) func(cmd *cobra.Command, args []string)

func RunServePublic

func RunServePublic(version, build, date string) func(cmd *cobra.Command, args []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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