Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { // Health returns a map of health status information. // The keys and values in the map are service-specific. Health() map[string]string // WriteNote inserts the given 'note' into the 'groupName' table. // If the 'groupName' table does not exist, it will be created. // Any errors will be returned, else nil. WriteNote(groupName string, note string) error // Close terminates the database connection. // It returns an error if the connection cannot be closed. Close() error }
Service represents a service that interacts with a database.
Click to show internal directories.
Click to hide internal directories.