Go API Documentation

github.com/titpetric/microservice/inject

No package summary is available.

Package

Files: 3. Third party imports: 2. Imports from organisation: 0. Tests: 0. Benchmarks: 0.

Vars

Inject is the main ProviderSet for wire

Functions

func NewHTTPClient

NewHTTPClient produces a configured http.Client

Uses: http.Client, http.ErrUseLastResponse, http.Request, http.Transport, net.Dialer, time.Second.

func Sonyflake

Sonyflake produces a sonyflake ID generator dependency

Uses: os.Getenv, sonyflake.NewSonyflake, sonyflake.Settings, strconv.ParseInt.