sbi

package
v1.4.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddService

func AddService(group *gin.RouterGroup, routes []Route)

Types

type NssaiAvailabilityPutParams added in v1.3.1

type NssaiAvailabilityPutParams struct {
	NfId string `uri:"nfId" binding:"required,uuid"`
}

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 RouteGroup

type RouteGroup interface {
	AddService(engine *gin.Engine) *gin.RouterGroup
}

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(nssf nssfApp, tlsKeyLogPath string) *Server

func (*Server) NSSAIAvailabilityDelete

func (s *Server) NSSAIAvailabilityDelete(c *gin.Context)

NSSAIAvailabilityDelete - Deletes an already existing S-NSSAIs per TA provided by the NF service consumer (e.g AMF)

func (*Server) NSSAIAvailabilityOptions added in v1.3.1

func (s *Server) NSSAIAvailabilityOptions(c *gin.Context)

func (*Server) NSSAIAvailabilityPatch

func (s *Server) NSSAIAvailabilityPatch(c *gin.Context)

NSSAIAvailabilityPatch - Updates an already existing S-NSSAIs per TA provided by the NF service consumer (e.g AMF)

func (*Server) NSSAIAvailabilityPost

func (s *Server) NSSAIAvailabilityPost(c *gin.Context)

func (*Server) NSSAIAvailabilityPut

func (s *Server) NSSAIAvailabilityPut(c *gin.Context)

NSSAIAvailabilityPut - Updates/replaces the NSSF with the S-NSSAIs the NF service consumer (e.g AMF) supports per TA

func (*Server) NSSAIAvailabilitySubscriptionPatch added in v1.3.1

func (s *Server) NSSAIAvailabilitySubscriptionPatch(c *gin.Context)

func (*Server) NSSAIAvailabilityUnsubscribeDelete

func (s *Server) NSSAIAvailabilityUnsubscribeDelete(c *gin.Context)

func (*Server) NetworkSliceInformationGet

func (s *Server) NetworkSliceInformationGet(c *gin.Context)

func (*Server) Processor

func (s *Server) Processor() *processor.Processor

func (*Server) Run

func (s *Server) Run(wg *sync.WaitGroup)

func (*Server) Shutdown

func (s *Server) Shutdown()

Directories

Path Synopsis