Documentation
¶
Index ¶
- func SetRequestContext(c *echo.Context, value any)
- type ContextKey
- type DataMap
- func (d *DataMap) GetIntByKey(key string) int
- func (d *DataMap) GetListByKey(key string) []string
- func (d *DataMap) GetStringByKey(key string) string
- func (d *DataMap) GetTimeByKey(key string) string
- func (r *DataMap) Has(key string) bool
- func (r DataMap) Marshal() ([]byte, error)
- func (c *DataMap) Scan(value interface{}) error
- func (d DataMap) StripEmpty() DataMap
- func (r *DataMap) ToDataMapReadable() *DataMapReadable
- func (r *DataMap) Unmarshal(value interface{}) error
- func (c DataMap) Value() (driver.Value, error)
- type DataMapReadable
- type KeyValuePair
- type Mapper
- type RequestContext
- type TableRow
- type TableRows
- type Task
- type UniversalMapper
- type UniversalSubMapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetRequestContext ¶
Types ¶
type DataMap ¶
type DataMap map[string]interface{}
func (*DataMap) GetIntByKey ¶
func (*DataMap) GetListByKey ¶
func (*DataMap) GetStringByKey ¶
func (*DataMap) GetTimeByKey ¶
func (DataMap) StripEmpty ¶
func (*DataMap) ToDataMapReadable ¶
func (r *DataMap) ToDataMapReadable() *DataMapReadable
type DataMapReadable ¶
func (*DataMapReadable) GetStringByKey ¶
func (d *DataMapReadable) GetStringByKey(key string) string
type KeyValuePair ¶
type RequestContext ¶
func GetRequestContext ¶
func GetRequestContext(c interface{}) RequestContext
type Task ¶
type Task struct {
ID int `json:"id"`
RID uuid.UUID `json:"rid"`
Key string `json:"key"`
Name string `json:"name"`
Description string `json:"description"`
InputParameters []vm.Validation `json:"input_parameters"`
InputParametersKeyed []vm.Validation `json:"input_parameters_keyed"`
OutputParameters []vm.Validation `json:"output_parameters"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}
Task represents a task configuration in the database
type UniversalMapper ¶
type UniversalMapper struct {
Data []UniversalSubMapper
}
func (UniversalMapper) IsEmpty ¶
func (u UniversalMapper) IsEmpty() bool
func (UniversalMapper) ToData ¶
func (u UniversalMapper) ToData() []UniversalSubMapper
func (UniversalMapper) ToDataMap ¶
func (u UniversalMapper) ToDataMap() *DataMap
func (UniversalMapper) ToIdentifier ¶
func (u UniversalMapper) ToIdentifier() string
func (UniversalMapper) ToKey ¶
func (u UniversalMapper) ToKey() string
func (UniversalMapper) ToName ¶
func (u UniversalMapper) ToName() string
Click to show internal directories.
Click to hide internal directories.