Documentation ¶
Index ¶
- func Register[Options any](registry *Registry, outboundType string, constructor ConstructorFunc[Options])
- type Adapter
- type ConstructorFunc
- type Manager
- func (m *Manager) Close() error
- func (m *Manager) Create(ctx context.Context, router adapter.Router, logger log.ContextLogger, ...) error
- func (m *Manager) Get(tag string) (adapter.Inbound, bool)
- func (m *Manager) Inbounds() []adapter.Inbound
- func (m *Manager) Remove(tag string) error
- func (m *Manager) Start(stage adapter.StartStage) error
- type Registry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConstructorFunc ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager(logger log.ContextLogger, registry adapter.InboundRegistry) *Manager
Click to show internal directories.
Click to hide internal directories.