Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthHandler ¶
type AuthHandler struct {
// contains filtered or unexported fields
}
func NewAuthHandler ¶
func NewAuthHandler(service service.AuthService) AuthHandler
func (AuthHandler) Login ¶
func (h AuthHandler) Login(rw http.ResponseWriter, r *http.Request)
func (AuthHandler) Verify ¶
func (h AuthHandler) Verify(rw http.ResponseWriter, r *http.Request)
Sample: /auth/verify?token=aa.b.c&routeName=GetCustomer&customer_id=2000&account=2000
Click to show internal directories.
Click to hide internal directories.