startcmd

package
v0.0.0-...-b6fb190 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 48 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStartCmd

func GetStartCmd(srv server) *cobra.Command

GetStartCmd returns the Cobra start command.

Types

type GNAPVerifier

type GNAPVerifier interface {
	Verify(key *gnap.ClientKey) error
}

GNAPVerifier interface to support injecting a verifier in the middleware.

type HTTPServer

type HTTPServer struct{}

HTTPServer represents an actual HTTP server implementation.

func (*HTTPServer) ListenAndServe

func (s *HTTPServer) ListenAndServe(host, certFile, keyFile string, router http.Handler) error

ListenAndServe starts the server using the standard Go HTTP server implementation.

Jump to

Keyboard shortcuts

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