hubHelper

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandlerForHelper

type HandlerForHelper interface {
	database.DBForHandler
	Roots() rootsHelper.Handler
	Grps() grpcHelper.MSA
	Config() *helper.Config
}

type Helper

type Helper interface {
	GenerateJwt(id primitive.ObjectID) (string, error)
}

func InitHelper

func InitHelper(H HandlerForHelper) Helper

type HelperForHandler

type HelperForHandler interface {
	database.DBForHandler
	Helper() Helper
	Config() *helper.Config
	Router() *mux.Router
	SetHandler(hh http.Handler)
	Grps() grpcHelper.MSA
}

Jump to

Keyboard shortcuts

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