Documentation
¶
Overview ¶
*
- Copyright (C) 2020 KhronoSync Digital Solutions LLC *
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- any later version. *
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details. *
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <https://www.gnu.org/licenses/>
*
- Copyright (C) 2020 KhronoSync Digital Solutions LLC *
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- any later version. *
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details. *
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <https://www.gnu.org/licenses/>
Index ¶
Constants ¶
View Source
const DistroSortRecent = "recent"
View Source
const EmptyStar = `<i class="star-empty"></i>`
View Source
const FullStar = `<i class="star-full"></i>`
View Source
const HalfStar = `<i class="star-half"></i>`
View Source
const HomeSortAlphabetical = "alphabetical"
View Source
const PathAskNoahShow = PathLive + "/ans"
View Source
const PathDistro = "/distro/{distroName:[a-zA-Z0-9\\-_! ]+}"
View Source
const PathDistroRatingSort = PathDistro + "/sort"
View Source
const PathFavicon = "/favicon.ico"
View Source
const PathHome = "/"
View Source
const PathLive = "/live"
View Source
const PathLogin = "/login"
View Source
const PathLogout = "/logout"
View Source
const PathRating = "/rating/{ratingId:[a-fA-F0-9\\-]+}"
View Source
const PathRatingDelete = PathRating + "/delete"
View Source
const PathRatingUseful = PathRating + "/upvote"
View Source
const PathReviewHome = "/reviews"
View Source
const PathReviewHomeSort = PathReviewHome + "/sort"
View Source
const PathSouthEastLinuxFest = PathLive + "/self"
View Source
const StarRating0 = template.HTML( EmptyStar + EmptyStar + EmptyStar + EmptyStar + EmptyStar)
View Source
const StarRating0Half = template.HTML( HalfStar + EmptyStar + EmptyStar + EmptyStar + EmptyStar)
View Source
const StarRating1 = template.HTML( FullStar + EmptyStar + EmptyStar + EmptyStar + EmptyStar)
View Source
const StarRating1Half = template.HTML( FullStar + HalfStar + EmptyStar + EmptyStar + EmptyStar)
View Source
const StarRating2 = template.HTML( FullStar + FullStar + EmptyStar + EmptyStar + EmptyStar)
View Source
const StarRating2Half = template.HTML( FullStar + FullStar + HalfStar + EmptyStar + EmptyStar)
View Source
const StarRating3 = template.HTML( FullStar + FullStar + FullStar + EmptyStar + EmptyStar)
View Source
const StarRating3Half = template.HTML( FullStar + FullStar + FullStar + HalfStar + EmptyStar)
View Source
const StarRating4 = template.HTML( FullStar + FullStar + FullStar + FullStar + EmptyStar)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DistroPage ¶
type DistroPage struct {
Session *SessionModel
Distro *distros.DistroModel
RatingsInfo []ratings.RatingsInfoModel
Ratings []ratings.RatingModel
Sort string
SiteKey string
}
type HomePage ¶
type HomePage struct {
Session *SessionModel
}
type LoginPage ¶
type LoginPage struct {
Session *SessionModel
ErrorMsg string
}
type RecaptchaResponse ¶
type ReviewHomePage ¶
type ReviewHomePage struct {
Session *SessionModel
Distros []distros.DistroModelView
Sort string
}
type SessionModel ¶
Click to show internal directories.
Click to hide internal directories.