plugin

package
v2.5.2 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: MIT Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetServicePlugins

func GetServicePlugins() *orderedmap.OrderedMap[string, ServicePlugin]

func RegisterServicePlugin

func RegisterServicePlugin(plugin ServicePlugin)

Types

type ServicePlugin

type ServicePlugin interface {
	Initialize(restServer *rest.RestServer, grpcServer *grpcx.GrpcServer, dialCtx pipeconn.DialContextFunc)
	GetName() string
	Close()
	GoDoudouServicePlugin()
	GetServiceInstance() interface{}
}

Jump to

Keyboard shortcuts

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