api

package
v0.0.0-...-ca0d999 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(log *logger.Logger, cfg config.Config, strg storage.StorageI) *gin.Engine

New ... @title Monolithic project API Endpoints @version 1.0 @description Here QA can test and frontend or mobile developers can get information of API endpoints. @BasePath /v1 @securityDefinitions.apikey BearerAuth @in header @name Authorization

Types

type Option

type Option struct {
	Conf       config.Config
	Logger     *logger.Logger
	Postgres   storage.StorageI
	JWTHandler t.JWTHandler
	Redis      redisrepo.InMemoryStorageI
}

Option ...

Directories

Path Synopsis
Package docs GENERATED BY SWAG; DO NOT EDIT This file was generated by swaggo/swag
Package docs GENERATED BY SWAG; DO NOT EDIT This file was generated by swaggo/swag
handlers
v1
helper

Jump to

Keyboard shortcuts

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