Documentation ¶
Index ¶
Constants ¶
View Source
const ( SELECT_PROVIDER = `SELECT * from providers WHERE name=$1` SELECT_ALL_PROVIDERS = `SELECT * from providers WHERE name != 'SYSTEM'` )
View Source
const (
DELETE_PROVIDER = `DELETE from providers WHERE name='%s'`
)
View Source
const (
INSERT_PROVIDER = `` /* 172-byte string literal not displayed */
)
View Source
const (
UPDATE_PROVIDER = `` /* 167-byte string literal not displayed */
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Provider ¶
type Provider struct { Id int `json:"id, omitempty" db:"id"` Name string `json:"name" db:"name"` DisplayName string `json:"display_name" db:"display_name"` Description string `json:"description, omitempty" db:"description"` WebURL string `json:"web_url, omitempty" db:"web_url"` IconURL string `json:"icon_url, omitempty" db:"icon_url"` Active bool `json:"active, omitempty" db:"active"` Voice string `json:"voice" db:"voice"` }
func (*Provider) ValidInsert ¶
func (*Provider) ValidUpdate ¶
Click to show internal directories.
Click to hide internal directories.