task

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handle

type Handle func(interface{}, *Options)

处理程序

type Option

type Option func(*Options)

配置

func Mongo

func Mongo(mg *mongo.MgoClient) Option

mongo配置

func Redis

func Redis(rd *redis.RdClient) Option

redis配置

func Repo

func Repo(rp *repo.Repository) Option

repo配置

type Options

type Options struct {
	Redis *redis.RdClient
	Repo  *repo.Repository
	Mgo   *mongo.MgoClient
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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