Documentation ¶
Index ¶
- Variables
- func FieldByTag(ref reflect.Value, tag string, tagValue string) reflect.Value
- func FirstLine(str string) string
- func Hash(v interface{}) string
- func IsUpper(b byte) bool
- func MaskCredentials(url string) string
- func MinInt(a, b int) int
- func ShortHash(hash string) string
- func StrEmpty(strs ...string) bool
- func StrFilter(str string, blacklist map[string]string) string
- type CycleTimer
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrTimerCancel = errors.New("timer canceled")
)
Functions ¶
Types ¶
type CycleTimer ¶
func NewTimer ¶
func NewTimer(cycleTime time.Duration, fn func(t *CycleTimer), done func()) *CycleTimer
func (*CycleTimer) Start ¶
func (t *CycleTimer) Start()
Click to show internal directories.
Click to hide internal directories.