httpapi

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	Db                    *gorm.DB
	WaitGroup             *sync.WaitGroup
	UseTestAuthentication bool
	DevelopmentMode       bool
	CorsOrigin            string
}

func (Context) SetupRouter

func (ctx Context) SetupRouter(engine *gin.Engine, logger gormlogger.Interface) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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