# Packages
Package restjsonserviceiface provides an interface to enable mocking the REST JSON Service service client for testing your code.
# Functions
New creates a new instance of the RESTJSONService client with a session.
NewEmptyStreamEventStream initializes an EmptyStreamEventStream.
NewGetEventStreamEventStream initializes an GetEventStreamEventStream.
# Constants
ID to lookup a service endpoint with.
ErrCodeExceptionEvent for service response error code "ExceptionEvent".
ErrCodeExceptionEvent2 for service response error code "ExceptionEvent2".
ServiceID is a unique identifier of a specific service.
Name of service.
# Structs
EmptyEventStreamUnknownEvent provides a failsafe event for the EmptyEventStream group of events when an unknown event is received.
EmptyStreamEventStream provides the event stream handling for the EmptyStream.
EventStreamUnknownEvent provides a failsafe event for the EventStream group of events when an unknown event is received.
GetEventStreamEventStream provides the event stream handling for the GetEventStream.
RESTJSONService provides the API operation methods for making requests to REST JSON Service.
# Interfaces
EmptyEventStreamEvent groups together all EventStream events writes for EmptyEventStream.
EmptyEventStreamReader provides the interface for reading to the stream.
EventStreamEvent groups together all EventStream events writes for EventStream.
EventStreamReader provides the interface for reading to the stream.