Documentation
¶
Overview ¶
Package rest provides an implementation of REST-JSON part of XDS server
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Callbacks ¶
type Callbacks interface {
// OnFetchRequest is called for each Fetch request. Returning an error will end processing of the
// request and respond with an error.
OnFetchRequest(context.Context, *discovery.DiscoveryRequest) error
// OnFetchResponse is called immediately prior to sending a response.
OnFetchResponse(*discovery.DiscoveryRequest, *discovery.DiscoveryResponse)
}
Click to show internal directories.
Click to hide internal directories.