Documentation ¶
Index ¶
- Constants
- func FindHelpTopicByName(name string) (models.HelpTopic, error)
- func FindQuickstartById(id int) (models.Quickstart, error)
- func GetAllFavoriteQuickstarts(w http.ResponseWriter, r *http.Request)
- func GetAllHelpTopics(w http.ResponseWriter, r *http.Request)
- func GetAllQuickstarts(w http.ResponseWriter, r *http.Request)
- func GetFavoriteQuickstarts(accountId string) ([]models.FavoriteQuickstart, error)
- func GetFilters(w http.ResponseWriter, r *http.Request)
- func GetHelpTopicByName(w http.ResponseWriter, r *http.Request)
- func GetQuickstartById(w http.ResponseWriter, r *http.Request)
- func HelpTopicEntityContext(next http.Handler) http.Handler
- func MakeFavoriteQuickstartsRouter(sub chi.Router)
- func MakeHelpTopicsRouter(sub chi.Router)
- func MakeQuickstartsProgressRouter(sub chi.Router)
- func MakeQuickstartsRouter(sub chi.Router)
- func PaginationContext(next http.Handler) http.Handler
- func PrometheusMiddleware(next http.Handler) http.Handler
- func QuickstartEntityContext(next http.Handler) http.Handler
- func SwitchFavorite(accountId string, quickstartName string, favorite bool) (models.FavoriteQuickstart, error)
- func UpdateFavoriteQuickstart(w http.ResponseWriter, r *http.Request)
- type FavQuickstartPayload
- type Pagination
Constants ¶
View Source
const (
PaginationContextKey key = "pagination"
)
Variables ¶
This section is empty.
Functions ¶
func FindQuickstartById ¶
func FindQuickstartById(id int) (models.Quickstart, error)
func GetAllFavoriteQuickstarts ¶
func GetAllFavoriteQuickstarts(w http.ResponseWriter, r *http.Request)
func GetAllHelpTopics ¶
func GetAllHelpTopics(w http.ResponseWriter, r *http.Request)
func GetAllQuickstarts ¶
func GetAllQuickstarts(w http.ResponseWriter, r *http.Request)
func GetFavoriteQuickstarts ¶
func GetFavoriteQuickstarts(accountId string) ([]models.FavoriteQuickstart, error)
func GetFilters ¶
func GetFilters(w http.ResponseWriter, r *http.Request)
func GetHelpTopicByName ¶
func GetHelpTopicByName(w http.ResponseWriter, r *http.Request)
func GetQuickstartById ¶
func GetQuickstartById(w http.ResponseWriter, r *http.Request)
func MakeFavoriteQuickstartsRouter ¶
func MakeFavoriteQuickstartsRouter(sub chi.Router)
func MakeHelpTopicsRouter ¶
func MakeHelpTopicsRouter(sub chi.Router)
MakeHelpTopicsRouter creates a router handles for /helptopics group
func MakeQuickstartsProgressRouter ¶
func MakeQuickstartsProgressRouter(sub chi.Router)
func MakeQuickstartsRouter ¶
func MakeQuickstartsRouter(sub chi.Router)
MakeQuickstartsRouter creates a router handles for /quickstarts group
func SwitchFavorite ¶
func UpdateFavoriteQuickstart ¶
func UpdateFavoriteQuickstart(w http.ResponseWriter, r *http.Request)
Types ¶
type FavQuickstartPayload ¶
type Pagination ¶
Click to show internal directories.
Click to hide internal directories.