ui

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2022 License: MIT Imports: 11 Imported by: 0

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 CLI

type CLI interface {
	GeneratePassword()
}

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL