config

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Copyright Louis Royer and the NextMN 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 Louis Royer and the NextMN 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 Control

type Control struct {
	Uri      jsonapi.ControlURI `yaml:"uri"`       // may contain domain name instead of ip address
	BindAddr netip.AddrPort     `yaml:"bind-addr"` // in the form `ip:port`
}

type Cp

type Cp struct {
	Uri jsonapi.ControlURI `yaml:"uri"` // uri of the control plane
}

type GNBConfig

type GNBConfig struct {
	Control Control    `yaml:"control"`
	Ran     Ran        `yaml:"ran"`
	Cp      Cp         `yaml:"cp"`
	Logger  *Logger    `yaml:"logger,omitempty"`
	Gtp     netip.Addr `yaml:"gtp"`
}

func ParseConf

func ParseConf(file string) (*GNBConfig, error)

type Logger

type Logger struct {
	Level logrus.Level `yaml:"level"`
}

type Ran

type Ran struct {
	BindAddr netip.AddrPort `yaml:"bind-addr"`
}

Jump to

Keyboard shortcuts

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