Documentation ¶
Overview ¶
Package rpc performs RPC calls for a user, returning responses via typhon.
The package should be initialised with: rpc.SetInternalEdgeProxy() rpc.SetExternalEdgeProxy()
You may need to `kubectl port-forward service/edge-proxy-internal 8080:80`.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InternalRequest ¶
InternalRequest sends an RPC call through the internal edge proxy. Both return values from this function should be printed to stdout if not empty/nil.
func NewRequest ¶
NewRequest creates a typhon request from an RPC request.
func SetExternalEdgeProxy ¶
func SetExternalEdgeProxy(url string)
func SetInternalEdgeProxy ¶
func SetInternalEdgeProxy(url string)
Types ¶
Click to show internal directories.
Click to hide internal directories.