core

package
v0.0.0-...-7cf7130 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Core

type Core struct {
	// contains filtered or unexported fields
}

func (*Core) Init

func (c *Core) Init()

func (*Core) LoadConfig

func (c *Core) LoadConfig()

func (*Core) ProcessKeaMessages

func (c *Core) ProcessKeaMessages()

func (*Core) WriteConfig

func (c *Core) WriteConfig()

type CoreConfig

type CoreConfig struct {
	Misc MiscConfig    `toml:"misc"`
	Vpp  vpp.VPPConfig `toml:"vpp"`
}

Configuration aggregation

type MiscConfig

type MiscConfig struct {
	SrcKeaSocket string
}

type Session

type Session struct {
	Iface int // VPP Iface
	IPv4  net.IP
}

type Sessions

type Sessions struct {
	// contains filtered or unexported fields
}

func (*Sessions) AddSession

func (s *Sessions) AddSession(ses *Session)

func (*Sessions) GetSession

func (s *Sessions) GetSession(ipv4 string) *Session

func (*Sessions) Init

func (s *Sessions) Init(vpp *vpp.Client)

func (*Sessions) RemoveSession

func (s *Sessions) RemoveSession(ipv4 string)

Jump to

Keyboard shortcuts

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