reflector

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(ctx context.Context, cfg *Config) error

Types

type Config

type Config struct {
	NetInterface     string `mapstructure:"net_interface"`
	WindowsInterface string `mapstructure:"windows_net_interface"`
	Devices          map[MacAddress]Device
}

type Device

type Device struct {
	OriginPool  uint16   `mapstructure:"origin_pool"`
	SharedPools []uint16 `mapstructure:"shared_pools"`
}

type MacAddress

type MacAddress string

Jump to

Keyboard shortcuts

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