2020-07-06 18:40:48 +00:00
|
|
|
/*
|
|
|
|
Copyright 2020 VMware, Inc.
|
|
|
|
SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
2020-07-03 00:05:59 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2020-07-06 23:07:21 +00:00
|
|
|
"log"
|
|
|
|
"net/http"
|
2020-07-07 19:54:14 +00:00
|
|
|
|
|
|
|
"github.com/suzerain-io/placeholder-name/pkg/handlers"
|
2020-07-03 00:05:59 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
2020-07-07 20:20:07 +00:00
|
|
|
addr := ":8080"
|
|
|
|
log.Printf("Starting server on %v", addr)
|
|
|
|
log.Fatal(http.ListenAndServe(addr, handlers.New()))
|
2020-07-03 00:05:59 +00:00
|
|
|
}
|