plugin

package
v0.0.0-...-e38cb6b Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: MIT Imports: 22 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct {
	// contains filtered or unexported fields
}

Container contain comm obj, impl zcontainer

func NewContainer

func NewContainer() *Container

func (*Container) GetAccessLogger

func (c *Container) GetAccessLogger() *logrus.Logger

func (*Container) GetGoMicroClient

func (c *Container) GetGoMicroClient() client.Client

func (*Container) GetGoMicroService

func (c *Container) GetGoMicroService() micro.Service

func (*Container) GetHTTPHandler

func (c *Container) GetHTTPHandler() http.Handler

func (*Container) GetHttpClient

func (c *Container) GetHttpClient() zhttpclient.HttpClient

func (*Container) GetLogger

func (c *Container) GetLogger() *logrus.Logger

func (*Container) GetMongo

func (c *Container) GetMongo() zmongo.Mongo

func (*Container) GetMysql

func (c *Container) GetMysql() zmysql.Mysql

GetMysql

func (*Container) GetMysqlCli

func (c *Container) GetMysqlCli() zmysql.Mysql

func (*Container) GetPrometheus

func (c *Container) GetPrometheus() zprometheus.Prometheus

func (*Container) GetRedisCli

func (c *Container) GetRedisCli() zredis.Redis

func (*Container) GetServiceID

func (c *Container) GetServiceID() string

func (*Container) GetTracer

func (c *Container) GetTracer() *tracing.TracerWrap

func (*Container) Init

func (c *Container) Init(appcfg *config.AppConf)

func (*Container) Reload

func (c *Container) Reload(appcfg *config.AppConf)

func (*Container) SetGoMicroClient

func (c *Container) SetGoMicroClient(cli client.Client)

GoMicroClient

func (*Container) SetGoMicroService

func (c *Container) SetGoMicroService(s micro.Service)

func (*Container) SetHTTPHandler

func (c *Container) SetHTTPHandler(h http.Handler)

func (*Container) SetServiceID

func (c *Container) SetServiceID(id string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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