logout

package
v0.0.0-...-9841d36 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct{}

Handler is just a route collection

func (Handler) Logout

func (h Handler) Logout(logger *log.Logger, ss *service.SessionService) func(c *routing.Context) error

func (Handler) Routes

func (h Handler) Routes(api *routing.RouteGroup, logger *log.Logger, ss *service.SessionService)

type Request

type Request struct {
	SessionID string `json:"session_id"`
}

func (*Request) Validate

func (r *Request) Validate() error

Jump to

Keyboard shortcuts

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