vendordemo

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2026 License: MIT Imports: 7 Imported by: 0

README

Vendor Dashboard Demo

This example shows a domain-specific vendor/lead analytics dashboard handler.

It is not mounted by default in the framework. The SQL expects vendor, lead, and campaign tables that are not part of the core migrations.

To use it in your app, copy the handler into your project and register it behind JWT middleware.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dashboard

func Dashboard(pool *pgxpool.Pool) fiber.Handler

Dashboard returns a fiber.Handler that serves GET /vendor/dashboard with optional start_date and end_date query params. Uses raw SQL over vendor, lead, campaign, campaign_category. Requires JWT when mounted.

Types

This section is empty.

Jump to

Keyboard shortcuts

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