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 ¶
- func AddSubscriber(sub *lteprotos.SubscriberData) error
- func DeleteSubscriber(id string) error
- func DeregisterSubscriber(id string) error
- func GetSubscriberData(id string) (*lteprotos.SubscriberData, error)
- func UpdateSubscriber(sub *lteprotos.SubscriberData) error
- func VerifySubscriberData(sub *lteprotos.SubscriberData) error
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 ¶
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 ¶
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.