Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseConfig ¶
func ParseConfig() (*bazaarConfig, error)
Types ¶
type API ¶
type API interface { Charts() http.Handler ListCharts(w http.ResponseWriter, r *http.Request) error SaveChart(w http.ResponseWriter, r *http.Request) error DeleteChart(w http.ResponseWriter, r *http.Request) error }
func NewAPI ¶
func NewAPI(repo repository.Repository, kiboshConfig *KiboshConfig, logger *logrus.Logger) API
type DisplayChart ¶
type DisplayResponse ¶
type DisplayResponse struct {
Message string `json:"message"`
}
type KiboshConfig ¶
Click to show internal directories.
Click to hide internal directories.