Help us shape the future of Go! Take the 2026 Go Developer Survey

helper

package
v3.10.13 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ACMEHosts

func ACMEHosts(ctx *cli.Context) []string

func MissingCommand

func MissingCommand(ctx *cli.Context) error

func RequestToContext

func RequestToContext(r *http.Request) context.Context

func Subcommand

func Subcommand(ctx *cli.Context) string

Subcommand returns the subcommand name

func TLSConfig

func TLSConfig(ctx *cli.Context) (*tls.Config, error)

func UnexpectedCommand

func UnexpectedCommand(ctx *cli.Context) error

func UnexpectedSubcommand

func UnexpectedSubcommand(ctx *cli.Context) error

UnexpectedSubcommand checks for erroneous subcommands and prints help and returns error

Types

This section is empty.

Jump to

Keyboard shortcuts

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