Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCli ¶
func NewCli(app application.PasswordGeneratorApp) *cliGeneratePassword
func NewHandler ¶
func NewHandler(app application.PasswordGeneratorApp, json_resp http_response.ResponseHTTP) *handler
func NewMiddleware ¶
func NewMiddleware(json_resp http_response.ResponseHTTP) *middleware
Types ¶
type Handler ¶
type Handler interface {
HandlePasswordGenerator(http.ResponseWriter, *http.Request)
}
type Middleware ¶
type Middleware interface { Auth(handler http.HandlerFunc) http.HandlerFunc EnablingCORS(handler http.HandlerFunc) http.HandlerFunc }
Click to show internal directories.
Click to hide internal directories.