WebUI

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddService

func AddService(engine *gin.Engine) *gin.RouterGroup

func DeleteSubscriberByID

func DeleteSubscriberByID(c *gin.Context)

Delete subscriber by IMSI(ueId) and PlmnID(servingPlmnId)

func GetRegisteredUEContext

func GetRegisteredUEContext(c *gin.Context)

func GetSampleJSON

func GetSampleJSON(c *gin.Context)

func GetSubscriberByID

func GetSubscriberByID(c *gin.Context)

Get subscriber by IMSI(ueId) and PlmnID(servingPlmnId)

func GetSubscribers

func GetSubscribers(c *gin.Context)

Get all subscribers list

func GetUEPDUSessionInfo

func GetUEPDUSessionInfo(c *gin.Context)

func NewRouter

func NewRouter() *gin.Engine

NewRouter returns a new router.

func PatchSubscriberByID

func PatchSubscriberByID(c *gin.Context)

Patch subscriber by IMSI(ueId) and PlmnID(servingPlmnId)

func PostSubscriberByID

func PostSubscriberByID(c *gin.Context)

Post subscriber by IMSI(ueId) and PlmnID(servingPlmnId)

func PutSubscriberByID

func PutSubscriberByID(c *gin.Context)

Put subscriber by IMSI(ueId) and PlmnID(servingPlmnId)

Types

type FlowRule

type FlowRule struct {
	Filter string `json:"filter,omitempty" yaml:"filter" bson:"filter" mapstructure:"filter"`
	Snssai string `json:"snssai,omitempty" yaml:"snssai" bson:"snssai" mapstructure:"snssai"`
	Dnn    string `json:"dnn,omitempty" yaml:"v" bson:"dnn" mapstructure:"dnn"`
	Var5QI int    `json:"5qi,omitempty" yaml:"5qi" bson:"5qi" mapstructure:"5qi"`
	MBRUL  string `json:"mbrUL,omitempty" yaml:"mbrUL" bson:"mbrUL" mapstructure:"mbrUL"`
	MBRDL  string `json:"mbrDL,omitempty" yaml:"mbrDL" bson:"mbrDL" mapstructure:"mbrDL"`
	GBRUL  string `json:"gbrUL,omitempty" yaml:"gbrUL" bson:"gbrUL" mapstructure:"gbrUL"`
	GBRDL  string `json:"gbrDL,omitempty" yaml:"gbrDL" bson:"gbrDL" mapstructure:"gbrDL"`
}

type Route

type Route struct {
	// Name is the name of this Route.
	Name string
	// Method is the string for the HTTP method. ex) GET, POST etc..
	Method string
	// Pattern is the pattern of the URI.
	Pattern string
	// HandlerFunc is the handler function of this route.
	HandlerFunc gin.HandlerFunc
}

Route is the information for every URI.

type Routes

type Routes []Route

Routes is the list of the generated Route.

type SubsData

type SubsData struct {
	PlmnID                            string                                     `json:"plmnID"`
	UeId                              string                                     `json:"ueId"`
	AuthenticationSubscription        models.AuthenticationSubscription          `json:"AuthenticationSubscription"`
	AccessAndMobilitySubscriptionData models.AccessAndMobilitySubscriptionData   `json:"AccessAndMobilitySubscriptionData"`
	SessionManagementSubscriptionData []models.SessionManagementSubscriptionData `json:"SessionManagementSubscriptionData"`
	SmfSelectionSubscriptionData      models.SmfSelectionSubscriptionData        `json:"SmfSelectionSubscriptionData"`
	AmPolicyData                      models.AmPolicyData                        `json:"AmPolicyData"`
	SmPolicyData                      models.SmPolicyData                        `json:"SmPolicyData"`
	FlowRules                         []FlowRule                                 `json:"FlowRules"`
}

type SubsListIE

type SubsListIE struct {
	PlmnID string `json:"plmnID"`
	UeId   string `json:"ueId"`
}

Jump to

Keyboard shortcuts

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