-
Notifications
You must be signed in to change notification settings - Fork 199
/
appStatusHandler.go
42 lines (32 loc) · 991 Bytes
/
appStatusHandler.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package disabled
type appStatusHandler struct {
}
// NewAppStatusHandler creates a new instance of disabled app status handler
func NewAppStatusHandler() *appStatusHandler {
return &appStatusHandler{}
}
// AddUint64 does nothing
func (ash *appStatusHandler) AddUint64(key string, value uint64) {
}
// Increment does nothing
func (ash *appStatusHandler) Increment(key string) {
}
// Decrement does nothing
func (ash *appStatusHandler) Decrement(key string) {
}
// SetInt64Value does nothing
func (ash *appStatusHandler) SetInt64Value(key string, value int64) {
}
// SetUInt64Value does nothing
func (ash *appStatusHandler) SetUInt64Value(key string, value uint64) {
}
// SetStringValue does nothing
func (ash *appStatusHandler) SetStringValue(key string, value string) {
}
// Close does nothing
func (ash *appStatusHandler) Close() {
}
// IsInterfaceNil returns nil if there is no value under the interface
func (ash *appStatusHandler) IsInterfaceNil() bool {
return ash == nil
}