Documentation ¶
Index ¶
- type Memory
- type Remote
- func (s *Remote) Close() error
- func (s *Remote) Outbound(tag string) (adapter.Outbound, bool)
- func (s *Remote) Outbounds() []adapter.Outbound
- func (s *Remote) Ready() <-chan struct{}
- func (s *Remote) Start() error
- func (s *Remote) Tag() string
- func (s *Remote) Update() error
- func (s *Remote) UpdatedAt() time.Time
- func (s *Remote) Wait()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Memory ¶
type Memory struct {
// contains filtered or unexported fields
}
Memory is a in memory outbounds provider.
type Remote ¶
Remote is a remote outbounds provider.
func NewRemote ¶
func NewRemote(ctx context.Context, router adapter.Router, logger log.ContextLogger, logFactory log.Factory, options option.Provider) (*Remote, error)
NewRemote creates a new remote provider.
func (*Remote) Ready ¶
func (s *Remote) Ready() <-chan struct{}
Ready returns a channel that's closed when provider is ready.
Click to show internal directories.
Click to hide internal directories.