account

package
v0.0.0-...-a12012e Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConnection

func NewConnection(params ConnectionParams) *grpc.ClientConn

func OnStop

func OnStop(params OnStopParams) error

func Register

func Register() fx.Option

Types

type ConnectionParams

type ConnectionParams struct {
	fx.In
	Config *conf.Conf
	Logger *zap.Logger
}

type OnStopParams

type OnStopParams struct {
	fx.In
	Conn *grpc.ClientConn `name:"grpc_account_connection"`
}

Jump to

Keyboard shortcuts

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