hss

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2020 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

Package hss provides a thin client for using the hss service. This can be used by apps to discover and contact the service, without knowing about the RPC implementation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSubscriber

func AddSubscriber(sub *lteprotos.SubscriberData) error

AddSubscriber tries to add this subscriber to the server. This function returns an AlreadyExists error if the subscriber has already been added. Input: The subscriber data which will be added.

func DeleteSubscriber

func DeleteSubscriber(id string) error

DeleteSubscriber deletes a subscriber by their Id. If the subscriber is not found, then this call is ignored. Input: The id of the subscriber to be deleted.

func DeregisterSubscriber

func DeregisterSubscriber(id string) error

DeRegisterSubscriber de-registers a subscriber by their Id. If the subscriber is not found, an error is returned instead. Input: The id of the subscriber to be deleted.

func GetSubscriberData

func GetSubscriberData(id string) (*lteprotos.SubscriberData, error)

GetSubscriberData looks up a subscriber by their Id. If the subscriber cannot be found, an error is returned instead. Input: The id of the subscriber to be looked up. Output: The data of the corresponding subscriber.

func UpdateSubscriber

func UpdateSubscriber(sub *lteprotos.SubscriberData) error

UpdateSubscriber changes the data stored for an existing subscriber. If the subscriber cannot be found, an error is returned instead. Input: The new subscriber data to store.

func VerifySubscriberData

func VerifySubscriberData(sub *lteprotos.SubscriberData) error

Types

This section is empty.

Directories

Path Synopsis
This starts the home subscriber server (hss) service.
This starts the home subscriber server (hss) service.

Jump to

Keyboard shortcuts

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