Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FeedCreateModel ¶
type FeedCreateModel struct {
Name string `json:"name,omitempty" validate:"omitempty,max=32"`
URL string `json:"url" validate:"required,url"`
Username string `json:"username,omitempty" validate:"omitempty,required_with=password"`
Password string `json:"password,omitempty" validate:"omitempty,required_with=username"`
Group string `json:"group,omitempty" validate:"omitempty,max=32"`
}
type FeedCreateResponse ¶
type FeedCreateResponse struct {
Success bool `json:"success"`
Feed *FeedShowModel `json:"feed"`
Message string `json:"message"`
}
type FeedListResponse ¶
type FeedListResponse struct {
Success bool `json:"success"`
Feeds *[]FeedShowModel `json:"feeds"`
Message string `json:"message"`
}
type FeedShowModel ¶
type FeedShowResponse ¶
type FeedShowResponse struct {
Success bool `json:"success"`
Feed *FeedShowModel `json:"feed"`
Message string `json:"message"`
}
Click to show internal directories.
Click to hide internal directories.