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: 0

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