Documentation
¶
Index ¶
- Constants
- func Banner()
- type App
- func (app *App) About() error
- func (app *App) Create() error
- func (app *App) Delete(reqName string) error
- func (app *App) Edit(reqName string) error
- func (app *App) ErrorHandler(err error) error
- func (app *App) Home() error
- func (app *App) Request(reqName string, display bool) error
- func (app *App) Requests() error
- func (app *App) Run()
- func (app *App) RunRequest(reqName string) error
- func (app *App) ShowCurl(reqName string) error
- type Signal
Constants ¶
View Source
const ( SigHome = "Home" SigBackHome = "Back to Home Menu" SigBrowse = "Browse requests" SigBackRequests = "Back to requests" SigExit = "Exit" SigCreate = "Create request" SigRun = "Run" SigReqSelect = "reqSelect" SigReqCreate = "reqCreate" SigEdit = "Edit" SigDelete = "Delete" SigCurl = "cURL" SigAbout = "About" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type App ¶
func (*App) ErrorHandler ¶
func (*App) Run ¶
func (app *App) Run()
Run Main run application method Consumes the channel, and acts accordingly
func (*App) RunRequest ¶
RunRequest Execute HTTP request, display response
Click to show internal directories.
Click to hide internal directories.