Documentation ¶
Index ¶
- type Client
- func (c *Client) ThingDeleteById(ctx context.Context, id string) error
- func (c *Client) ThingFind(ctx context.Context) ([]*thingrpc.Thing, error)
- func (c *Client) ThingGetById(ctx context.Context, id string) (*thingrpc.Thing, error)
- func (c *Client) ThingSave(ctx context.Context, i *thingrpc.Thing) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is the database client
func (*Client) ThingDeleteById ¶
ThingDeleteById a thing
func (*Client) ThingGetById ¶
ThingGetByID returns the the thing by ID
Click to show internal directories.
Click to hide internal directories.