NATS C Client with JetStream and Streaming support
3.9.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
#include <nats.h>
Public Attributes | |
const char * | Type |
Response type. Always "io.nats.micro.v1.info_response" . More... | |
const char * | Name |
The name of the service. More... | |
const char * | Version |
The semantic version of the service. More... | |
const char * | Description |
The description of the service. More... | |
const char * | Id |
The ID of the service instance responding to the request. More... | |
natsMetadata | Metadata |
Metadata for the service, a JSON-encoded user-provided object, e.g. {"key":"value"} More... | |
microEndpointInfo * | Endpoints |
Endpoints. More... | |
int | EndpointsLen |
The number of endpoints in the Endpoints array. More... | |
microServiceInfo is the struct returned by microService_GetInfo function. It is also accessible by sending a $SRV.INFO.<service-name>[.<id>]
request to the service.
const char* micro_service_info_s::Type |
const char* micro_service_info_s::Name |
const char* micro_service_info_s::Version |
const char* micro_service_info_s::Description |
const char* micro_service_info_s::Id |
natsMetadata micro_service_info_s::Metadata |
microEndpointInfo* micro_service_info_s::Endpoints |
int micro_service_info_s::EndpointsLen |