Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAllowedNetwork ¶ added in v0.14.27
IsAllowedNetwork returns true if the given host (IP or resolvable hostname) is in the set of allowed networks (CIDR format only).
Types ¶
type Connection ¶ added in v0.13.0
Connection is what we expose to the outside. It is a protocol.Connection that can be closed and has some metadata.
type Service ¶ added in v0.13.0
type Service struct { *suture.Supervisor // contains filtered or unexported fields }
Service listens and dials all configured unconnected devices, via supported dialers. Successful connections are handed to the model.
func NewService ¶ added in v0.13.0
func (*Service) AllAddresses ¶ added in v0.13.0
func (*Service) CommitConfiguration ¶ added in v0.13.0
func (s *Service) CommitConfiguration(from, to config.Configuration) bool
func (*Service) ExternalAddresses ¶ added in v0.13.0
func (*Service) VerifyConfiguration ¶ added in v0.13.0
func (s *Service) VerifyConfiguration(from, to config.Configuration) error
Click to show internal directories.
Click to hide internal directories.