infrastructure

package
v0.0.0-...-9eb7758 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLoadEnv

func NewLoadEnv()

func NewLogger

func NewLogger(environment string) *zap.Logger

Types

type HttpServer

type HttpServer struct {
	Port string
}

func NewHttpServer

func NewHttpServer(port string, handlers http.Handler, log *zap.Logger) *HttpServer

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

type Router

type Router struct {
	Handlers http.Handler
}

func NewRouter

func NewRouter(microservice applications.Microservice) *Router

type SurrealDB

type SurrealDB struct {
	Database *surrealdb.DB
	// contains filtered or unexported fields
}

func NewSurrealDB

func NewSurrealDB(log *zap.Logger) *SurrealDB

Jump to

Keyboard shortcuts

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