Documentation
¶
Index ¶
- func FindMany(client *http.Client, format FormatStructure) (map[string]*Object, error)
- func SendRequest(client *http.Client, URL string, method string, data map[string]string) *httpcontract.ResponseOperator
- type FormatStructure
- type Object
- func (obj *Object) Add(client *http.Client, format FormatStructure, data string) error
- func (obj *Object) ChangeDetected() bool
- func (obj *Object) Diff(definition string) bool
- func (obj *Object) Exists() bool
- func (obj *Object) Find(client *http.Client, format FormatStructure) error
- func (obj *Object) FindAndConvert(client *http.Client, format FormatStructure, destination interface{})
- func (obj *Object) GetDefinition() map[string]any
- func (obj *Object) GetDefinitionByte() []byte
- func (obj *Object) GetDefinitionString() string
- func (obj *Object) Remove(client *http.Client, format FormatStructure) (bool, error)
- func (obj *Object) Update(client *http.Client, format FormatStructure, data string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendRequest ¶
func SendRequest(client *http.Client, URL string, method string, data map[string]string) *httpcontract.ResponseOperator
Types ¶
type FormatStructure ¶
func FormatEmpty ¶
func FormatEmpty() *FormatStructure
func (*FormatStructure) FromString ¶
func (format *FormatStructure) FromString(f string) FormatStructure
func (*FormatStructure) ToBytes ¶
func (format *FormatStructure) ToBytes() []byte
func (*FormatStructure) ToString ¶
func (format *FormatStructure) ToString() string
type Object ¶
func (*Object) ChangeDetected ¶
func (*Object) FindAndConvert ¶
func (obj *Object) FindAndConvert(client *http.Client, format FormatStructure, destination interface{})
func (*Object) GetDefinition ¶
func (*Object) GetDefinitionByte ¶
func (*Object) GetDefinitionString ¶
Click to show internal directories.
Click to hide internal directories.