router

package
v0.0.0-...-aafb35e Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InstanceGorillaMux int = iota
	InstanceGin
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Port

type Port int64

type Server

type Server interface {
	Listen()
}

func NewWebServerFactory

func NewWebServerFactory(
	instance int,
	log logger.Logger,
	dbSQL repository.SQL,
	dbNoSQL repository.NoSQL,
	validator validator.Validator,
	port Port,
	ctxTimeout time.Duration,
) (Server, error)

Jump to

Keyboard shortcuts

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