factory

package
v0.0.0-...-cad1217 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitConfigFactory

func InitConfigFactory(f string)

TODO: Support configuration update from REST api

Types

type Config

type Config struct {
	Info *Info `yaml:"info"`

	Configuration *Configuration `yaml:"configuration"`
}
var N3iwfConfig Config

type ConfigAMFAddr

type ConfigAMFAddr struct {
	NetworkAddress string `yaml:"IP"`
	Port           int    `yaml:"Port,omitempty"`
}

type Configuration

type Configuration struct {
	N3IWFInfo  n3iwf_context.N3IWFNFInfo `yaml:"N3IWFInformation"`
	AMFAddress []ConfigAMFAddr           `yaml:"AMFAddress"`
}

type Info

type Info struct {
	Version string `yaml:"version,omitempty"`

	Description string `yaml:"description,omitempty"`
}

Jump to

Keyboard shortcuts

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