startcmd

package
v0.0.0-...-f3e3514 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2023 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Overview

Package startcmd defines service commands and options.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd(server server) (*cobra.Command, error)

Cmd returns the Cobra start command.

Types

type HTTPServer

type HTTPServer struct{}

HTTPServer represents an actual server implementation.

func (*HTTPServer) ListenAndServe

func (s *HTTPServer) ListenAndServe(host string, router http.Handler, certFile, keyFile string) 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