handlers

package
v0.0.1-0...-6deec57 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2022 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Package handlers provides http handlers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildAuthorizeHandler

func BuildAuthorizeHandler(srv *server.Server) http.Handler

BuildAuthorizeHandler provides authorize handler

func BuildClientCommandDispatchHandler

func BuildClientCommandDispatchHandler(cb commandbus.CommandBus) http.Handler

BuildClientCommandDispatchHandler dispatches domain command

func BuildGetClientHandler

func BuildGetClientHandler(repository persistence.ClientRepository) http.Handler

func BuildListClientsHandler

func BuildListClientsHandler(repository persistence.ClientRepository) http.Handler

BuildListClientsHandler lists client credentials by user ID

func BuildListTokensHandler

func BuildListTokensHandler(repository persistence.TokenRepository, clientRepository persistence.ClientRepository) http.Handler

BuildListTokensHandler lists auth tokens by client and user IDs

func BuildListUserAuthTokensHandler

func BuildListUserAuthTokensHandler(repository persistence.TokenRepository) http.Handler

BuildListUserAuthTokensHandler lists auth tokens by client and user IDs

func BuildLivenessHandler

func BuildLivenessHandler() http.Handler

BuildLivenessHandler provides liveness handler

func BuildReadinessHandler

func BuildReadinessHandler(sqlConn *sql.DB, mongoConn *mongo.Client, connMap map[string]*grpc.ClientConn) http.Handler

BuildReadinessHandler provides readiness handler

func BuildTokenCommandDispatchHandler

func BuildTokenCommandDispatchHandler(cb commandbus.CommandBus) http.Handler

BuildTokenCommandDispatchHandler dispatches domain command

func BuildTokenHandler

func BuildTokenHandler(srv *server.Server) http.Handler

BuildTokenHandler provides token handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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