Documentation ¶
Index ¶
- type App
- func (a *App) ArchiveTank(w http.ResponseWriter, r *http.Request)
- func (a *App) CompleteFuelPart(w http.ResponseWriter, r *http.Request)
- func (a *App) CreateFuelPart(w http.ResponseWriter, r *http.Request)
- func (a *App) CreateTank(w http.ResponseWriter, r *http.Request)
- func (a *App) Delete(path string, f func(w http.ResponseWriter, r *http.Request))
- func (a *App) DeleteFuelPart(w http.ResponseWriter, r *http.Request)
- func (a *App) DeleteTank(w http.ResponseWriter, r *http.Request)
- func (a *App) Get(path string, f func(w http.ResponseWriter, r *http.Request))
- func (a *App) GetAllFuelParts(w http.ResponseWriter, r *http.Request)
- func (a *App) GetAllTanks(w http.ResponseWriter, r *http.Request)
- func (a *App) GetFuelPart(w http.ResponseWriter, r *http.Request)
- func (a *App) GetTank(w http.ResponseWriter, r *http.Request)
- func (a *App) Initialize(config *config.Config)
- func (a *App) Post(path string, f func(w http.ResponseWriter, r *http.Request))
- func (a *App) Put(path string, f func(w http.ResponseWriter, r *http.Request))
- func (a *App) RestoreTank(w http.ResponseWriter, r *http.Request)
- func (a *App) Run(host string)
- func (a *App) UndoFuelPart(w http.ResponseWriter, r *http.Request)
- func (a *App) UpdateFuelPart(w http.ResponseWriter, r *http.Request)
- func (a *App) UpdateTank(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
App has router and db instances
func (*App) ArchiveTank ¶
func (a *App) ArchiveTank(w http.ResponseWriter, r *http.Request)
func (*App) CompleteFuelPart ¶
func (a *App) CompleteFuelPart(w http.ResponseWriter, r *http.Request)
func (*App) CreateFuelPart ¶
func (a *App) CreateFuelPart(w http.ResponseWriter, r *http.Request)
func (*App) CreateTank ¶
func (a *App) CreateTank(w http.ResponseWriter, r *http.Request)
func (*App) DeleteFuelPart ¶
func (a *App) DeleteFuelPart(w http.ResponseWriter, r *http.Request)
func (*App) DeleteTank ¶
func (a *App) DeleteTank(w http.ResponseWriter, r *http.Request)
func (*App) GetAllFuelParts ¶
func (a *App) GetAllFuelParts(w http.ResponseWriter, r *http.Request)
** Fuel Handlers
func (*App) GetAllTanks ¶
func (a *App) GetAllTanks(w http.ResponseWriter, r *http.Request)
** Tanks Handlers
func (*App) GetFuelPart ¶
func (a *App) GetFuelPart(w http.ResponseWriter, r *http.Request)
func (*App) Initialize ¶
Initialize initializes the app with predefined configuration
func (*App) RestoreTank ¶
func (a *App) RestoreTank(w http.ResponseWriter, r *http.Request)
func (*App) UndoFuelPart ¶
func (a *App) UndoFuelPart(w http.ResponseWriter, r *http.Request)
func (*App) UpdateFuelPart ¶
func (a *App) UpdateFuelPart(w http.ResponseWriter, r *http.Request)
func (*App) UpdateTank ¶
func (a *App) UpdateTank(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.