Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Provide(New)
Module is the Fx module for this package.
Functions ¶
This section is empty.
Types ¶
type Params ¶
type Params struct {
fx.In
Config config.Provider
Lifecycle fx.Lifecycle
Logger *zap.SugaredLogger
}
Params define values to be used by ServerInfoFile.
type ServerInfoFile ¶
ServerInfoFile is an interface to manage contents of a single server info file. It is intended to be used to store connection info for reference by the IDE and other tools, and written to at service launch.
func New ¶
func New(p Params) (ServerInfoFile, error)
New creates a new ServerInfoFile which manages contents of a single server info file.
Click to show internal directories.
Click to hide internal directories.