22 lines
494 B
Go
22 lines
494 B
Go
package outgoing
|
|
|
|
// @todo need to decide on settings format & structure...
|
|
// type (
|
|
// SettingValue struct {
|
|
// Name string `json:"name"`
|
|
// Type SettingType `json:"type"`
|
|
// Value interface{} `json:"value"`
|
|
// ReadOnly bool `json:"ro"`
|
|
// }
|
|
//
|
|
// Settings []SettingValue
|
|
//
|
|
// SettingType string
|
|
// )
|
|
//
|
|
// const (
|
|
// SettingTypeBool SettingType = "Boolean"
|
|
// SettingTypeString SettingType = "String"
|
|
// SettingTypeNumber SettingType = "Number"
|
|
// )
|