mirror of
https://github.com/aykhans/slash-e.git
synced 2026-11-08 23:31:08 +00:00
chore: add enable metric flag
This commit is contained in:
1 parent
38cd5fabee
commit
2771602e5c
2 files changed
+14
-2
No files matched your search
@@ -28,6 +28,8 @@ type Profile struct {
|
||||
Driver string `json:"-"`
|
||||
// Version is the current version of server
|
||||
Version string `json:"version"`
|
||||
// Metric indicate the metric collection is enabled or not
|
||||
Metric bool `json:"-"`
|
||||
}
|
||||
|
||||
func (p *Profile) IsDev() bool {
|
||||
|
||||
Reference in new issue
Block a user