Add type UptraceInfo.
This commit is contained in:
parent
6ca0eff5d7
commit
c6c4c5f260
8
util.go
8
util.go
|
@ -5,3 +5,11 @@ import "strconv"
|
||||||
func uint32ToString(n uint32) string {
|
func uint32ToString(n uint32) string {
|
||||||
return strconv.FormatUint(uint64(n), 10)
|
return strconv.FormatUint(uint64(n), 10)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type UptraceInfo struct {
|
||||||
|
UptraceOn bool `json:"uptraceOn"`
|
||||||
|
UptraceDSN string `json:"uptraceDSN"`
|
||||||
|
ServiceName string `json:"serviceName"`
|
||||||
|
ServiceVersion string `json:"serviceVersion"`
|
||||||
|
DeploymentEnvironment string `json:"deploymentEnvironment"`
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue