Documentation ¶
Overview ¶
Package hss provides a thin client for using the UESim service. This can be used by apps to discover and contact the service, without knowing about the RPC implementation.
Index ¶
- func AddUE(ue *cwfprotos.UEConfig) error
- func Authenticate(id *cwfprotos.AuthenticateRequest) (*cwfprotos.AuthenticateResponse, error)
- func Disconnect(id *cwfprotos.DisconnectRequest) (*cwfprotos.DisconnectResponse, error)
- func GenTraffic(req *cwfprotos.GenTrafficRequest) (*cwfprotos.GenTrafficResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Authenticate ¶
func Authenticate(id *cwfprotos.AuthenticateRequest) (*cwfprotos.AuthenticateResponse, error)
Authenticate triggers an authentication for the UE with the specified IMSI. Input: The IMSI of the UE to try to authenticate. Output: The resulting Radius packet returned by the Radius server.
func Disconnect ¶
func Disconnect(id *cwfprotos.DisconnectRequest) (*cwfprotos.DisconnectResponse, error)
Disconnect triggers a disconnect request from the UE with the specified IMSI. Input: The IMSI of the UE to try to disconnect. Output: The resulting Radius packet returned by the Radius server.
func GenTraffic ¶
func GenTraffic(req *cwfprotos.GenTrafficRequest) (*cwfprotos.GenTrafficResponse, error)
GenTraffic triggers traffic generation for the UE with the specified IMSI. Input: The IMSI of the UE to simulate traffic for
Types ¶
This section is empty.