cmd

package
v0.0.0-...-db043a3 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package cmd leverage spf13/cobra to create a CLI utility

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute runs the root command

func HealthHandler

func HealthHandler(w http.ResponseWriter, req *http.Request)

HealthHandler serves /healthz and always returns 200

func HomeHandler

func HomeHandler(w http.ResponseWriter, req *http.Request)

HomeHandler serves /

Types

This section is empty.

Jump to

Keyboard shortcuts

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