repo

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: May 8, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewImpl)

ProviderSet is a repo of health of provider set

Functions

This section is empty.

Types

type IRepo

type IRepo interface {
	Ping(ctx contextx.Contextx, timeout time.Duration) error
}

IRepo is a repo to health Business

func CreateIRepo

func CreateIRepo(path string) (IRepo, error)

func NewImpl

func NewImpl(mongoClient *mongo.Client) IRepo

NewImpl is a constructor health of implement repo

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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