Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] 北极星旁路功能插件设计——支持 Local Plugin 以及 Remote Plugin 模式 #757 #1

Closed
wants to merge 1 commit into from

Conversation

edocevol
Copy link
Collaborator


const (
// RumModelLocal local mode, plugin running by polaris-server
RumModelLocal = "local"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

要不当前就先只保留一个 remote 模式吧, go-plugin 的 local 模式暂时先不开放吧?


import "sync"

var pluginSet = make(map[string]*Client)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

var (
pluginSet = make(map[string]*Client)
locker sync.Mutex
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants