api

package
v0.0.0-...-50967ce Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package api provides definition of api resources and routing to the resources

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupRouter

func SetupRouter(ginMode, dbMode string) (*gin.Engine, error)

Configures router of gin web framework It accepts mode for gin, and db that will be used to configure DB type, either mock or not

Types

This section is empty.

Jump to

Keyboard shortcuts

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