v1

package
v0.0.0-...-ab07b4f Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: Apache-2.0 Imports: 10 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 imagegrp maintains the group of handlers for image access.
Package imagegrp maintains the group of handlers for image 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