Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConstraintOrTransactionError ¶
func (ConstraintOrTransactionError) Error ¶
func (e ConstraintOrTransactionError) Error() string
type IDService ¶
IDService is an additional optional interface that read-write applications can choose to implement
type Service ¶
type Service interface { Write(thing interface{}, transId string) error Read(uuid string, transId string) (thing interface{}, found bool, err error) Delete(uuid string, transId string) (found bool, err error) DecodeJSON(*json.Decoder) (thing interface{}, identity string, err error) Count() (int, error) Check() error Initialise() error }
Service defines the functions any read-write application needs to implement
Click to show internal directories.
Click to hide internal directories.