~bigbes/core-go

3dc39b678422dbb6aa9f49daca8538415d187c71 — Simon Martin 8 months ago 5223726
server: support setting build version and date information

This is a pre-requisite to the effort to make this information available
via the GraphQL API.

Co-authored-by: Conrad Hoffmann <ch@bitfehler.net>
Signed-off-by: Simon Martin <simon@nasilyan.com>
1 files changed, 3 insertions(+), 0 deletions(-)

M server/server.go
M server/server.go => server/server.go +3 -0
@@ 58,6 58,9 @@ var (
		Help:    "Duration of processed HTTP requests in milliseconds",
		Buckets: []float64{10, 20, 40, 80, 120, 300, 600, 900, 1800},
	})

	BuildVersion string
	BuildDate    string
)

type Server struct {