server

package
v0.0.0-...-bc2c20b Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(target Target) *echo.Echo

New is constructor to create an Echo server on specific addr and port

Types

type Target

type Target struct {
	fx.In
	Environment string `name:"env"`
	Port        string `name:"port"`
	Lc          fx.Lifecycle
	Logger      meshlogger.Logger
}

Target is parameters to get all mux's dependencies

Jump to

Keyboard shortcuts

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