Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddService ¶
func AddService(engine *gin.Engine) *gin.RouterGroup
func Deregistration ¶
func Registration ¶
Types ¶
type RegistrationData ¶
type RegistrationData struct { AuthenticationMethod models.AuthMethod `json:"authenticationMethod" yaml:"authenticationMethod" bson:"authenticationMethod" mapstructure:"AuthenticationMethod"` SupiOrSuci string `json:"supiOrSuci" yaml:"supiOrSuci" bson:"supiOrSuci" mapstructure:"SupiOrSuci"` K string `json:"k" yaml:"k" bson:"k" mapstructure:"K"` OpcType string `json:"opcType" yaml:"opcType" bson:"opcType" mapstructure:"OpcType"` Opc string `json:"opc" yaml:"opc" bson:"opc" mapstructure:"Opc"` PlmnId string `json:"plmnid" yaml:"plmnid" bson:"plmnid" mapstructure:"plmnid"` ServingNetworkName string `json:"servingNetworkName" yaml:"servingNetworkName" bson:"servingNetworkName" mapstructure:"ServingNetworkName"` Dnn string `json:"dnn" yaml:"dnn" bson:"dnn" mapstructure:"dnn"` N3IWFIpAddress string `json:"n3IWFIpAddress" yaml:"n3IWFIpAddress" bson:"n3IWFIpAddress" mapstructure:"N3IWFIpAddress"` SNssai *models.Snssai `json:"SNssai" yaml:"SNssai" bson:"SNssai" mapstructure:"SNssai"` IKEBindAddress string `json:"ikeBindAddress" yaml:"ikeBindAddress" bson:"ikeBindAddress" mapstructure:"IKEBindAddress"` PDUSessionID uint8 `json:"PDUSessionID,string" yaml:"PDUSessionID" bson:"PDUSessionID" mapstructure:"PDUSessionID"` GREAddress string `json:"GREAddress" yaml:"GREAddress" bson:"GREAddress" mapstructure:"GREAddress"` }
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.
Click to show internal directories.
Click to hide internal directories.