Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPHandler ¶
type HTTPHandler interface { Login() echo.HandlerFunc RefreshToken() echo.HandlerFunc VerifyToken() echo.HandlerFunc }
HTTPHandler interface is the interface for interacting with the HTTP transport layer
type PGRespository ¶
type PGRespository interface { Login(ctx context.Context, username string, password string) (postgres.User, error) RefreshToken(ctx context.Context, refreshToken string) (postgres.User, error) VerifyToken(ctx context.Context, accessToken string) (postgres.User, error) }
PGRespository interface is the interface for interacting with the Postgres database
Click to show internal directories.
Click to hide internal directories.