Documentation
¶
Overview ¶
Package demo installs the example's cross-service binding and event rule through the public console API. It is shared by the setup command and the two-replica conformance test.
Index ¶
Constants ¶
View Source
const ( Binding = `` /* 179-byte string literal not displayed */ Rule = `` /* 197-byte string literal not displayed */ RuleName = "hello-to-formatter" )
The example's definitions, as the console's YAML editor shows them.
Variables ¶
View Source
var ( ErrURL = errors.New("console URL must be http(s)") ErrLogin = errors.New("console login failed") ErrProtocol = errors.New("unexpected console response") )
View Source
var ErrDefinition = errors.New("example definition rejected")
Functions ¶
func Connect ¶
Connect authenticates using a deployment-provided token, then opens the console's ws-proto transport using the returned HttpOnly session cookie. base includes the console prefix, e.g. http://localhost:8081/backplane.
Types ¶
Click to show internal directories.
Click to hide internal directories.