routes

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2025 License: MIT Imports: 24 Imported by: 0

Documentation

Overview

Package routes defines the routes for the echo server.

Package routes defines the routes for the echo server.

Package routes defines the routes for the echo server.

Package routes defines the routes for the echo server.

Package routes defines the routes for the echo server.

Package routes defines the routes for the echo server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadRoutes added in v0.0.4

func LoadRoutes(r *RouteService) error

LoadRoutes loads the routes for the echo server

func LoadRoutesWithOptions added in v0.0.9

func LoadRoutesWithOptions(r *RouteService, startServer bool) error

LoadRoutesWithOptions loads the routes for the echo server with additional options

func NewEcho added in v0.0.4

func NewEcho() *echo.Echo

Types

type RouteService added in v0.0.4

type RouteService struct {
	// contains filtered or unexported fields
}

RouteService is a struct that holds the echo instance, the echo group, the service, the database pool, and the redis client

func NewRouteService added in v0.0.4

func NewRouteService(
	e *echo.Echo,
	service models.ServiceInterface,
	pool *pgxpool.Pool,
	rdb *redis.Client,
) *RouteService

NewRouteService creates a new RoutesService

func NewRouteServiceWithTelemetry added in v0.4.0

func NewRouteServiceWithTelemetry(
	e *echo.Echo,
	service models.ServiceInterface,
	pool *pgxpool.Pool,
	rdb *redis.Client,
	telemetryProvider *telemetry.Provider,
) *RouteService

NewRouteServiceWithTelemetry creates a new RoutesService with telemetry provider

func (*RouteService) AdminRoleRoutes added in v0.0.6

func (r *RouteService) AdminRoleRoutes()

func (*RouteService) AuthnRoutes added in v0.0.4

func (r *RouteService) AuthnRoutes()

AuthnRoutes defines the routes for the authentication endpoints

func (*RouteService) ChannelRoutes added in v0.3.0

func (r *RouteService) ChannelRoutes()

ChannelRoutes defines the routes for the channel endpoints

func (*RouteService) HealthCheckRoutes added in v0.0.4

func (r *RouteService) HealthCheckRoutes()

HealthCheckRoutes Adds health check endpoint to determine if the service is up (useful for load balancers or k8s)

func (*RouteService) UserRegisterRoutes added in v0.1.0

func (r *RouteService) UserRegisterRoutes()

MeRoutes defines the routes for the me endpoints

func (*RouteService) UserRoutes added in v0.0.4

func (r *RouteService) UserRoutes()

UserRoutes defines the routes for the user endpoints

Jump to

Keyboard shortcuts

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