mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-01-08 15:21:55 +00:00
Add a simple /healthz endpoint
- Also remove the old hello world code Signed-off-by: Andrew Keesler <akeesler@vmware.com>
This commit is contained in:
committed by
Andrew Keesler
parent
cc81dd04e9
commit
57a22f99aa
@@ -6,11 +6,11 @@ SPDX-License-Identifier: Apache-2.0
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/suzerain-io/placeholder-name/pkg/hello"
|
||||
"github.com/suzerain-io/placeholder-name/pkg/handlers"
|
||||
"log"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
func main() {
|
||||
fmt.Println(hello.NewHelloSayer().SayHello())
|
||||
log.Fatal(http.ListenAndServe(":8080", handlers.New()))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user