package
Version:
v0.0.0-...-4ef28e9
Opens a new window with list of versions in this module.
Published: Aug 19, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
OrgID string `json:"orgID" env:"MASSDRIVER_ORG_ID,required"`
APIKey string `json:"apiKey" env:"MASSDRIVER_API_KEY,required"`
URL string `json:"url" env:"MASSDRIVER_API_URL"`
}
ServeHTTP returns the config
@Summary Get the users config
@Description Get the users config
@ID get-config
@Produce json
@Success 200 {object} config.Config
@Router /config [get]
Source Files
¶
Click to show internal directories.
Click to hide internal directories.