blob: fbe89e22f624fc278e58dc6beba97542fd19969c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package main
import (
"fmt"
"net/http"
"github.com/xlgmokha/x/pkg/env"
"gitlab.com/gitlab-org/software-supply-chain-security/authorization/authz.d/pkg/rpc"
)
func main() {
bindAddr := env.Fetch("BIND_ADDR", "localhost:8080")
fmt.Printf("Listening on %v\n", bindAddr)
http.ListenAndServe(bindAddr, rpc.New())
}
|