Loc

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIClient

type APIClient struct {

	// API Services
	CancelLocationApi          *CancelLocationApiService
	DetermineLocationApi       *DetermineLocationApiService
	LocationContextTransferApi *LocationContextTransferApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the LMF Location API v1.2.5 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

type CancelLocationApiService

type CancelLocationApiService service

func (*CancelLocationApiService) CancelLocation

type CancelLocationError

type CancelLocationError struct {
	Location                 string
	Var3gpp_Sbi_Target_Nf_Id string
	ProblemDetails           *models.ProblemDetails
	RedirectResponse         *models.RedirectResponse
}

type CancelLocationRequest

type CancelLocationRequest struct {
	RequestBody *models.Lmf_Loc_CancelLocData
}

CancelLocationRequest

func (*CancelLocationRequest) SetRequestBody

func (r *CancelLocationRequest) SetRequestBody(
	RequestBody models.Lmf_Loc_CancelLocData,
)

type CancelLocationResponse

type CancelLocationResponse struct{}

type Configuration

type Configuration struct {
	MetricsHook openapi.RequestMetricsHook
	// contains filtered or unexported fields
}

func NewConfiguration

func NewConfiguration() *Configuration

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

func (*Configuration) BasePath

func (c *Configuration) BasePath() string

func (*Configuration) DefaultHeader

func (c *Configuration) DefaultHeader() map[string]string

func (*Configuration) HTTPClient

func (c *Configuration) HTTPClient() *http.Client

func (*Configuration) Host

func (c *Configuration) Host() string

func (*Configuration) Metrics

func (*Configuration) SetBasePath

func (c *Configuration) SetBasePath(apiRoot string)

func (*Configuration) SetHTTPClient

func (c *Configuration) SetHTTPClient(client *http.Client)

func (*Configuration) SetHost

func (c *Configuration) SetHost(host string)

func (*Configuration) SetMetrics

func (c *Configuration) SetMetrics(h openapi.RequestMetricsHook)

func (*Configuration) SetUserAgent

func (c *Configuration) SetUserAgent(userAgent string)

func (*Configuration) UserAgent

func (c *Configuration) UserAgent() string

type DetermineLocationApiService

type DetermineLocationApiService service

func (*DetermineLocationApiService) DetermineLocation

func (*DetermineLocationApiService) DetermineLocationEventNotify

type DetermineLocationError

type DetermineLocationError struct {
	Location                 string
	Var3gpp_Sbi_Target_Nf_Id string
	ProblemDetails           *models.ProblemDetails
	RedirectResponse         *models.RedirectResponse
}

type DetermineLocationEventNotifyError

type DetermineLocationEventNotifyError struct {
	Location                 string
	Var3gpp_Sbi_Target_Nf_Id string
	ProblemDetails           *models.ProblemDetails
	RedirectResponse         *models.RedirectResponse
}

type DetermineLocationEventNotifyRequest

type DetermineLocationEventNotifyRequest struct {
	RequestBody *models.Lmf_Loc_EventNotifyData
}

DetermineLocationEventNotifyRequest

func (*DetermineLocationEventNotifyRequest) SetRequestBody

func (r *DetermineLocationEventNotifyRequest) SetRequestBody(
	RequestBody models.Lmf_Loc_EventNotifyData,
)

type DetermineLocationEventNotifyResponse

type DetermineLocationEventNotifyResponse struct{}

type DetermineLocationRequest

type DetermineLocationRequest struct {
	RequestBody *models.DetermineLocationRequestBody
}

DetermineLocationRequest

func (*DetermineLocationRequest) SetRequestBody

func (r *DetermineLocationRequest) SetRequestBody(
	RequestBody models.DetermineLocationRequestBody,
)

type DetermineLocationResponse

type DetermineLocationResponse struct {
	Lmf_Loc_LocationData *models.Lmf_Loc_LocationData
}

type LocationContextTransferApiService

type LocationContextTransferApiService service

func (*LocationContextTransferApiService) LocationContextTransfer

type LocationContextTransferError

type LocationContextTransferError struct {
	Location                 string
	Var3gpp_Sbi_Target_Nf_Id string
	ProblemDetails           *models.ProblemDetails
	RedirectResponse         *models.RedirectResponse
}

type LocationContextTransferRequest

type LocationContextTransferRequest struct {
	RequestBody *models.Lmf_Loc_LocContextData
}

LocationContextTransferRequest

func (*LocationContextTransferRequest) SetRequestBody

func (r *LocationContextTransferRequest) SetRequestBody(
	RequestBody models.Lmf_Loc_LocContextData,
)

type LocationContextTransferResponse

type LocationContextTransferResponse struct{}

Jump to

Keyboard shortcuts

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