Documentation ¶
Index ¶
- func ArgsToDictionary(args []string) map[string]string
- func CStr(s string) *C.char
- func CleanString(a string) string
- func DictionaryToJsonString(a map[string]interface{}) string
- func DictionaryValue(dict map[string]interface{}, key string, defaultValue interface{}) interface{}
- func EnsureRestMethod(a *http.Request, b string) (bool, string)
- func GetTraceLevelName(x TraceLevel) string
- func InvokeGet(endpoint string, headers map[string]string) map[string]interface{}
- func InvokePost(endpoint string, jsonBody map[string]string, headers map[string]string) map[string]interface{}
- func ListContains(haystack []string, needle string) (bool, int)
- func LookupParameter(args map[string]interface{}, name string, defaultValue interface{}) interface{}
- func LookupParameterValue(key string, parameters map[string]string, defaultValue string) string
- func PadLeft(str string, le int, pad string) string
- func PadRight(str string, le int, pad string) string
- func ParseExtendedParameters(raw string) map[string]interface{}
- func ParseParameters(delim string) map[string]interface{}
- func RunCmd(cmd string) string
- func SortStrDictionary(dict map[string]string) []string
- func StrDictionaryToJsonString(a map[string]string) string
- func StrToDictionary(s []byte) map[string]interface{}
- func ToConstStr(a string) *C.uchar
- type EmptyPropertyStore
- type JsonPropertyStore
- type PlainPropertyStore
- type PropertyStore
- type PropertyStoreService
- type SystemService
- type TraceCategory
- type TraceLevel
- type TraceService
- func (x *TraceService) TraceDebug(message string, category int)
- func (x *TraceService) TraceError(message string, category int)
- func (x *TraceService) TraceInformational(message string, category int)
- func (x *TraceService) TraceVerbose(message string, category int)
- func (x *TraceService) TraceWarning(message string, category int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArgsToDictionary ¶
func CleanString ¶
func DictionaryToJsonString ¶
func DictionaryValue ¶
func GetTraceLevelName ¶
func GetTraceLevelName(x TraceLevel) string
func InvokePost ¶
func LookupParameter ¶
func LookupParameterValue ¶
func ParseExtendedParameters ¶
func ParseParameters ¶
func SortStrDictionary ¶
func StrToDictionary ¶
func ToConstStr ¶
Types ¶
type EmptyPropertyStore ¶
type EmptyPropertyStore struct {
// contains filtered or unexported fields
}
EmptyPropertyStore
func (*EmptyPropertyStore) GetKey ¶
func (x *EmptyPropertyStore) GetKey(a string) interface{}
func (*EmptyPropertyStore) GetKeys ¶
func (x *EmptyPropertyStore) GetKeys() map[string]interface{}
func (*EmptyPropertyStore) SetProperty ¶
func (x *EmptyPropertyStore) SetProperty(a string, b interface{})
type JsonPropertyStore ¶
type JsonPropertyStore struct {
// contains filtered or unexported fields
}
JsonPropertyStore
func (*JsonPropertyStore) GetKey ¶
func (x *JsonPropertyStore) GetKey(a string) interface{}
func (*JsonPropertyStore) GetKeys ¶
func (x *JsonPropertyStore) GetKeys() map[string]interface{}
func (*JsonPropertyStore) SetProperty ¶
func (x *JsonPropertyStore) SetProperty(a string, b interface{})
type PlainPropertyStore ¶
type PlainPropertyStore struct { Delimiter string // contains filtered or unexported fields }
PlainPropertyStore
func (*PlainPropertyStore) GetKey ¶
func (x *PlainPropertyStore) GetKey(a string) interface{}
func (*PlainPropertyStore) GetKeys ¶
func (x *PlainPropertyStore) GetKeys() map[string]interface{}
func (*PlainPropertyStore) SetProperty ¶
func (x *PlainPropertyStore) SetProperty(a string, b interface{})
type PropertyStore ¶
type PropertyStore interface { GetKeys() map[string]interface{} GetKey(a string) interface{} SetProperty(a string, b interface{}) // contains filtered or unexported methods }
PropertyStore interface
type PropertyStoreService ¶
type PropertyStoreService struct{}
PropertyStoreService
func (*PropertyStoreService) LoadFromFile ¶
func (x *PropertyStoreService) LoadFromFile(a string, b PropertyStore)
type SystemService ¶
type SystemService struct {
ModulePath string
}
func (*SystemService) BuildModuleContainerPath ¶
func (x *SystemService) BuildModuleContainerPath() string
type TraceLevel ¶
type TraceLevel int
TraceLevel
const ( TL_NONE TraceLevel = iota TL_ERROR TL_WARNING TL_INFORMATIONAL TL_VERBOSE TL_DEBUG )
type TraceService ¶
TraceService
func (*TraceService) TraceDebug ¶
func (x *TraceService) TraceDebug(message string, category int)
func (*TraceService) TraceError ¶
func (x *TraceService) TraceError(message string, category int)
func (*TraceService) TraceInformational ¶
func (x *TraceService) TraceInformational(message string, category int)
func (*TraceService) TraceVerbose ¶
func (x *TraceService) TraceVerbose(message string, category int)
func (*TraceService) TraceWarning ¶
func (x *TraceService) TraceWarning(message string, category int)
Click to show internal directories.
Click to hide internal directories.