Skip to content

Commit

Permalink
std/go/server: Allow introspecting HTTPListenPort.
Browse files Browse the repository at this point in the history
  • Loading branch information
nichtverstehen committed Oct 17, 2023
1 parent e0c97d2 commit bb9bfba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion std/go/server/grpcserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ var (

const drainTimeout = 30 * time.Second

func ListenPort() int { return *port }
func ListenPort() int { return *port }
func HTTPListenPort() int { return *httpPort }

func InitializationDone() {
core.InitializationDone()
Expand Down

0 comments on commit bb9bfba

Please sign in to comment.