Documentation ¶
Overview ¶
Package httpingressapi implements the public API of the http.ingress.core microservice, including clients and data structures.
The HTTP ingress microservice relays incoming HTTP requests to the NATS bus.
Index ¶
Constants ¶
const Hostname = "http.ingress.core"
Hostname is the default hostname of the microservice: http.ingress.core.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is an interface to calling the endpoints of the http.ingress.core microservice. This simple version is for unicast calls.
type MulticastClient ¶
type MulticastClient struct {
// contains filtered or unexported fields
}
MulticastClient is an interface to calling the endpoints of the http.ingress.core microservice. This advanced version is for multicast calls.
func NewMulticastClient ¶
func NewMulticastClient(caller service.Publisher) *MulticastClient
NewMulticastClient creates a new multicast client to the http.ingress.core microservice.
func (*MulticastClient) ForHost ¶
func (_c *MulticastClient) ForHost(host string) *MulticastClient
ForHost replaces the default hostname of this client.