Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthCheck ¶
type HealthCheck struct {
HealthCheck bool
}
func (*HealthCheck) Data ¶
func (serializer *HealthCheck) Data() *healthCheckResponse
type Keyword ¶
type Keyword struct { Keyword *models.Keyword Links *presenters.KeywordLinks }
func (*Keyword) Data ¶
func (serializer *Keyword) Data() *KeywordResponse
type KeywordList ¶
type KeywordList struct { Keywords []*models.Keyword Pagination }
func (*KeywordList) Data ¶
func (serializer *KeywordList) Data() []*KeywordResponse
type KeywordResponse ¶
type KeywordResponse struct { Id uint `jsonapi:"primary,keyword"` Keyword string `jsonapi:"attr,keyword"` Status string `jsonapi:"attr,status"` CreatedAt string `jsonapi:"attr,created_at"` UpdatedAt string `jsonapi:"attr,updated_at"` LinkCount int `jsonapi:"attr,link_count,omitempty"` NonAdwordLinksCount int `jsonapi:"attr,non_adword_link_count,omitempty"` NonAdwordLinks []string `jsonapi:"attr,non_adword_links,omitempty"` AdwordLinksCount int `jsonapi:"attr,adword_link_count,omitempty"` AdwordLinks []string `jsonapi:"attr,adword_links,omitempty"` ShopAdwordLinksCount int `jsonapi:"attr,shop_adword_link_count,omitempty"` ShopAdwordLinks []string `jsonapi:"attr,shop_adword_links,omitempty"` HTMLCode string `jsonapi:"attr,html_code,omitempty"` }
type OAuthClient ¶
func (*OAuthClient) Data ¶
func (serializer *OAuthClient) Data() *oAuthClientResponse
type OAuthToken ¶
type OAuthToken struct {
OAuthToken *models.OAuthToken
}
func (*OAuthToken) Data ¶
func (serializer *OAuthToken) Data() *oAuthTokenResponse
type Pagination ¶
type Pagination struct {
Paginator *pagination.Paginator
}
func (*Pagination) Links ¶
func (serializer *Pagination) Links() (links *jsonapi.Links)
func (*Pagination) Meta ¶
func (serializer *Pagination) Meta() (meta *jsonapi.Meta)
Click to show internal directories.
Click to hide internal directories.