Documentation ¶
Index ¶
- func AddService(engine *gin.Engine) *gin.RouterGroup
- func DecodeNfProfile(source interface{}, format string) (models.NfProfile, error)
- func GetNrfInfo() *models.NrfInfo
- func HTTPCreateSubscription(c *gin.Context)
- func HTTPDeregisterNFInstance(c *gin.Context)
- func HTTPGetNFInstance(c *gin.Context)
- func HTTPGetNFInstances(c *gin.Context)
- func HTTPRegisterNFInstance(c *gin.Context)
- func HTTPRemoveSubscription(c *gin.Context)
- func HTTPUpdateNFInstance(c *gin.Context)
- func HTTPUpdateSubscription(c *gin.Context)
- func Index(c *gin.Context)
- func NewRouter() *gin.Engine
- type Route
- type Routes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddService ¶
func AddService(engine *gin.Engine) *gin.RouterGroup
func DecodeNfProfile ¶
DecodeNfProfile - Only support []map[string]interface to []models.NfProfile
func GetNrfInfo ¶
func HTTPCreateSubscription ¶
CreateSubscription - Create a new subscription
func HTTPDeregisterNFInstance ¶
DeregisterNFInstance - Deregisters a given NF Instance
func HTTPGetNFInstance ¶
GetNFInstance - Read the profile of a given NF Instance
func HTTPGetNFInstances ¶
GetNFInstances - Retrieves a collection of NF Instances
func HTTPRegisterNFInstance ¶
RegisterNFInstance - Register a new NF Instance
func HTTPRemoveSubscription ¶
RemoveSubscription - Deletes a subscription
func HTTPUpdateNFInstance ¶
UpdateNFInstance - Update NF Instance profile
func HTTPUpdateSubscription ¶
UpdateSubscription - Updates a subscription
Types ¶
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.