Documentation
¶
Index ¶
- func CopyArray(data []byte, pos int, length int) []byte
- func GetAppPath() (string, error)
- func GetDuration(seconds int64) string
- func GetScouterPath() string
- func Hash(bytes []byte) int32
- func HashString(v string) int32
- func HashUint(s string) uint32
- func IntToXlogString32(num int64) string
- func IpToBytes(ip string) []byte
- func MakeDir(path string)
- func MillisBetween(from time.Time, to time.Time) int32
- func MillisToNow(from time.Time) int32
- func ReadFile(file string) string
- func RoundUp(input float64, places int) float64
- func TimeToMillis(t time.Time) int64
- type CommaSeparatedChainedStrMatcher
- type StrMatch
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetScouterPath ¶
func GetScouterPath() string
func IntToXlogString32 ¶
func MillisToNow ¶
func TimeToMillis ¶
Types ¶
type CommaSeparatedChainedStrMatcher ¶
type CommaSeparatedChainedStrMatcher struct {
// contains filtered or unexported fields
}
func NewCommaSeparatedChainedStrMatcher ¶
func NewCommaSeparatedChainedStrMatcher(patterns string) CommaSeparatedChainedStrMatcher
func (CommaSeparatedChainedStrMatcher) IsMatch ¶
func (m CommaSeparatedChainedStrMatcher) IsMatch(target string) bool
Source Files
¶
Click to show internal directories.
Click to hide internal directories.