Documentation
¶
Index ¶
Constants ¶
View Source
const ( ModuleName = "feg" CONTROL_PROXY = "CONTROL_PROXY" S6A_PROXY = "S6A_PROXY" SESSION_PROXY = "SESSION_PROXY" SWX_PROXY = "SWX_PROXY" HLR_PROXY = "HLR_PROXY" HEALTH = "HEALTH" CSFB = "CSFB" FEG_HELLO = "FEG_HELLO" AAA_SERVER = "AAA_SERVER" EAP = "EAP" EAP_AKA = "EAP_AKA" RADIUSD = "RADIUSD" RADIUS = "RADIUS" REDIS = "REDIS" PIPELINED = "PIPELINED" MOCK_VLR = "MOCK_VLR" MOCK_OCS = "MOCK_OCS" MOCK_OCS2 = "MOCK_OCS2" MOCK_PCRF = "MOCK_PCRF" MOCK_PCRF2 = "MOCK_PCRF2" MOCK_HSS = "HSS" SESSION_MANAGER = "SESSIOND" )
Variables ¶
This section is empty.
Functions ¶
func AddService ¶
Add a new service. If the service already exists, overwrites the service config.
func Get ¶
func Get() service_registry.GatewayRegistry
Get returns a singleton of gateway's registry
func GetConnection ¶
func GetConnection(service string) (*grpc.ClientConn, error)
Provides a gRPC connection to a service in the registry.
func GetServiceAddress ¶
Returns the RPC address of the service. The service needs to be added to the registry before this.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.