Documentation ¶
Index ¶
- Constants
- func Agent(w http.ResponseWriter, r *http.Request)
- func Agents(w http.ResponseWriter, r *http.Request)
- func Client(w http.ResponseWriter, r *http.Request)
- func Clients(w http.ResponseWriter, r *http.Request)
- func Error500f(w http.ResponseWriter, format string, a ...interface{})
- func Errorf(w http.ResponseWriter, code int, format string, a ...interface{})
- func Fatalf(format string, a ...interface{})
- func ServiceProxy(w http.ResponseWriter, r *http.Request)
- type ClientConnectResult
- type Event
- type ID
- type Message
- type ServerConnectResult
- type Trace
Constants ¶
View Source
const ( REALM = "Service Proxy" TOPIC_AUTHORIZER = "Authorizer" SUB_REQUESTS = "Requests" ATTR_RESPONSE = "response" )
Variables ¶
This section is empty.
Functions ¶
func Client ¶
func Client(w http.ResponseWriter, r *http.Request)
Clients hand REST calls to the "/clients/{ID}" URI.
func Clients ¶
func Clients(w http.ResponseWriter, r *http.Request)
Clients hand REST calls to the "/clients" URI.
func Error500f ¶
func Error500f(w http.ResponseWriter, format string, a ...interface{})
func ServiceProxy ¶
func ServiceProxy(w http.ResponseWriter, r *http.Request)
Types ¶
type ClientConnectResult ¶
type ServerConnectResult ¶
type ServerConnectResult struct {
URL string `json:"url"`
}
Click to show internal directories.
Click to hide internal directories.