Documentation ¶
Index ¶
- func Service[T settings.Settings](credentials *settings.Credentials, schemaID string, schemaVersion string, ...) settings.CRUDService[T]
- type Config
- type Matcher
- type ServiceOptions
- type SettingsObject
- type SettingsObjectCreate
- type SettingsObjectCreateResponse
- type SettingsObjectList
- type SettingsObjectListItem
- type SettingsObjectUpdate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Service ¶
func Service[T settings.Settings](credentials *settings.Credentials, schemaID string, schemaVersion string, options ...*ServiceOptions[T]) settings.CRUDService[T]
Types ¶
type ServiceOptions ¶
type SettingsObject ¶
type SettingsObject struct { SchemaVersion string `json:"schemaVersion"` SchemaID string `json:"schemaId"` Scope string `json:"scope"` Value json.RawMessage `json:"value"` }
type SettingsObjectCreate ¶
type SettingsObjectCreateResponse ¶
type SettingsObjectCreateResponse struct {
ObjectID string `json:"objectId"`
}
type SettingsObjectList ¶
type SettingsObjectList struct { Items []*SettingsObjectListItem `json:"items"` NextPageKey *string `json:"nextPageKey,omitempty"` }
type SettingsObjectListItem ¶
type SettingsObjectListItem struct { ObjectID string `json:"objectId"` Scope string `json:"scope"` SchemaVersion string `json:"schemaVersion"` Value json.RawMessage `json:"value"` }
type SettingsObjectUpdate ¶
Click to show internal directories.
Click to hide internal directories.