Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChoriaFramework ¶ added in v0.24.0
type Connection ¶ added in v0.13.0
Connection provides the connection to the middleware
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager of registration plugins
func New ¶
func New(c ChoriaFramework, si registration.ServerInfoSource, conn Connection, logger *logrus.Entry) *Manager
New creates a new instance of the registration subsystem manager
func (*Manager) RegisterProvider ¶
func (reg *Manager) RegisterProvider(ctx context.Context, wg *sync.WaitGroup, provider RegistrationDataProvider) error
RegisterProvider creates a publisher for a new provider
type RegistrationDataProvider ¶
type RegistrationDataProvider interface {
StartRegistration(context.Context, *sync.WaitGroup, int, chan *data.RegistrationItem)
}
RegistrationDataProvider is a provider for data that can be registered into a running server instance using AddRegistrationProvider()
Click to show internal directories.
Click to hide internal directories.