Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Announcement ¶
type AnnouncementController ¶
type AnnouncementController struct{}
func (*AnnouncementController) GetAnnouncements ¶
func (ac *AnnouncementController) GetAnnouncements(c *gin.Context) (int, interface{})
type AnnouncementRouter ¶
type AnnouncementRouter struct {
// contains filtered or unexported fields
}
func (*AnnouncementRouter) GetAnnouncements ¶
func (r *AnnouncementRouter) GetAnnouncements(c *gin.Context)
type AnnouncementStore ¶
type AnnouncementStore struct {
// contains filtered or unexported fields
}
func NewAnnouncementStore ¶
func NewAnnouncementStore() AnnouncementStore
func (*AnnouncementStore) Find ¶
func (s *AnnouncementStore) Find() ([]Announcement, error)
type GetAnnouncementsResponse ¶
type GetAnnouncementsResponse struct {
Announcements []SingleAnnouncementResponse `json:"announcements"`
}
type GetAnnouncementsSerializer ¶
type GetAnnouncementsSerializer struct {
Announcements []Announcement
}
func (GetAnnouncementsSerializer) Response ¶
func (s GetAnnouncementsSerializer) Response() GetAnnouncementsResponse
Click to show internal directories.
Click to hide internal directories.