v1

package
v0.0.0-...-0044c33 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package v1 contains the full set of handler functions and routes supported by the v1 web api.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Routes

func Routes(app *web.App, cfg Config)

Routes binds all the version 1 routes.

Types

type Config

type Config struct {
	Log  *zap.SugaredLogger
	Auth *auth.Auth
	DB   *sqlx.DB
}

Config contains all the mandatory systems required by handlers.

Directories

Path Synopsis
Package productgrp maintains the group of handlers for product access.
Package productgrp maintains the group of handlers for product access.
Package usergrp maintains the group of handlers for user access.
Package usergrp maintains the group of handlers for user access.

Jump to

Keyboard shortcuts

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