router

package
v0.0.0-...-44e0fd4 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: MIT Imports: 18 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