di

package
v0.0.0-...-01bad0f Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package di provides utilities to help resolve dependencies into valid objects

Index

Constants

This section is empty.

Variables

View Source
var ErrDependencyFailure = errors.New("dependency failure")

ErrDependencyFailure means that, for some reason, the dependency required didn't work

Functions

func OptsFromViper

func OptsFromViper() ([]grpc.ServerOption, error)

OptsFromViper reads the configuration from viper, and returns options that can bootstrap a gRPC server

func WireGRPCServer

func WireGRPCServer() (*grpc.Server, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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