stun

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	LocalAddresses []*net.IPNet

	service.Interface
	service.Rehashable
	// contains filtered or unexported fields
}

func (*Service) Get

func (s *Service) Get(string) string

func (*Service) Init

func (s *Service) Init(services *map[service.ID]service.Interface) error

func (*Service) IsInLocalNets added in v1.1.0

func (s *Service) IsInLocalNets(host string) (bool, net.IP)

func (*Service) Rehash

func (s *Service) Rehash()

func (*Service) Status added in v1.1.0

func (s *Service) Status() service.LifeCycle

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL