Documentation
¶
Overview ¶
Copyright 2023 Louis Royer and the NextMN-SRv6-ctrl contributors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file. SPDX-License-Identifier: MIT
Copyright 2024 Louis Royer and the NextMN-SRv6-ctrl contributors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file. SPDX-License-Identifier: MIT
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CtrlConfig ¶
type CtrlConfig struct {
PFCPAddress netip.Addr `yaml:"pfcp-address"`
HTTPAddress netip.Addr `yaml:"http-address"`
HTTPPort *string `yaml:"http-port,omitempty"` // default: 80
Logger *Logger `yaml:"logger,omitempty"`
}
func ParseConf ¶
func ParseConf(file string) (*CtrlConfig, error)
Click to show internal directories.
Click to hide internal directories.