Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetIpEndPoint ¶
func GetIpEndPoint() []models.IpEndPoint
Types ¶
type EIRContext ¶
type EIRContext struct {
Name string
UriScheme models.UriScheme
RegisterIP netip.Addr // IP register to NRF
BindingIP netip.Addr
SBIPort int
DefaultStatus string
NfService map[models.ServiceName]models.NrfNfManagementNfService
NfId string
NrfUri string
NrfCertPem string
OAuth2Required bool
}
func (*EIRContext) AuthorizationCheck ¶
func (c *EIRContext) AuthorizationCheck(token string, serviceName models.ServiceName) error
func (*EIRContext) GetTokenCtx ¶
func (c *EIRContext) GetTokenCtx(serviceName models.ServiceName, targetNF models.NrfNfManagementNfType) ( context.Context, *models.ProblemDetails, error, )
Click to show internal directories.
Click to hide internal directories.