Documentation ¶
Index ¶
- Constants
- Variables
- func GetAsString(value interface{}) string
- func GetCAPNPDataList(data *[][]byte, segment *C.Segment) *C.DataList
- func GetCAPNPTextList(texts *[]string, segment *C.Segment) *C.TextList
- func IsSliceContainsString(item string, slice *[]string) bool
- func RenderDurationManual(d time.Duration) string
- func RenderTimeManual(t time.Time) string
- type EnvironmentVariable
- type Locker
- type LockerFactoryImpl
- type LockerFactory_I
Constants ¶
View Source
const ( ENVIRONMENT_VARIABLE_TYPE_STRING = iota ENVIRONMENT_VARIABLE_TYPE_BOOL ENVIRONMENT_VARIABLE_TYPE_INT64 ENVIRONMENT_VARIABLE_TYPE_UINT64 ENVIRONMENT_VARIABLE_TYPE_FLOAT64 )
Variables ¶
View Source
var Dummy struct{}
Functions ¶
func GetAsString ¶
func GetAsString(value interface{}) string
Get a value of type interface{} as a string
func GetCAPNPTextList ¶
Cap'N'Proto utilities
func IsSliceContainsString ¶
Types ¶
type EnvironmentVariable ¶
func GetEnvironmentVariables ¶
func GetEnvironmentVariables(vars []*EnvironmentVariable) ([]*EnvironmentVariable, error)
type LockerFactoryImpl ¶
type LockerFactoryImpl struct {
// contains filtered or unexported fields
}
func (*LockerFactoryImpl) GetLocker ¶
func (lf *LockerFactoryImpl) GetLocker(name string) *Locker
type LockerFactory_I ¶
var LockerFactory LockerFactory_I = &LockerFactoryImpl{make(map[string]*Locker)}
Click to show internal directories.
Click to hide internal directories.