Documentation
¶
Overview ¶
Package database manages database connectors and implementations for the Device Lease service.
Index ¶
Constants ¶
View Source
const DefaultPageSize = 1000
DefaultPageSize is the default page size for paginated APIs.
Variables ¶
This section is empty.
Functions ¶
func BuildQueryFilter ¶
BuildQueryFilter builds a WHERE clause based on a filter string.
Parse filter from string. Assume filters are separated by "AND" based on AIP-160.
Types ¶
type Client ¶
type Client struct { Conn *sql.DB Config *DatabaseConfig }
type DatabaseConfig ¶
Click to show internal directories.
Click to hide internal directories.