Versions in this module Expand all Collapse all v0 v0.1.2 Apr 21, 2021 Changes in this version + const ContentTypeXML + const SecurityBootstrapRedisKey v0.1.1 Apr 21, 2021 Changes in this version + const ApiAddressableRoute + const ApiBase + const ApiCallbackRoute + const ApiCommandRoute + const ApiConfigRoute + const ApiDeviceProfileRoute + const ApiDeviceRoute + const ApiDeviceServiceRoute + const ApiEventRoute + const ApiHealthRoute + const ApiIntervalActionRoute + const ApiIntervalRoute + const ApiLoggingRoute + const ApiMetricsRoute + const ApiNotificationRoute + const ApiNotifyRegistrationRoute + const ApiOperationRoute + const ApiPingRoute + const ApiProvisionWatcherRoute + const ApiReadingRoute + const ApiRegistrationByNameRoute + const ApiRegistrationRoute + const ApiSubscriptionRoute + const ApiTransmissionRoute + const ApiValueDescriptorRoute + const ApiVersionRoute + const ClientMonitorDefault + const ConfigSeedServiceKey + const ContentType + const ContentTypeCBOR + const ContentTypeJSON + const ContentTypeText + const ContentTypeYAML + const CoreCommandServiceKey + const CoreDataServiceKey + const CoreMetaDataServiceKey + const CorrelationHeader + const SecurityFileTokenProviderServiceKey + const SecurityProxySetupServiceKey + const SecuritySecretStoreSetupServiceKey + const SecuritySecretsSetupServiceKey + const ServiceKeyPrefix + const SupportLoggingServiceKey + const SupportNotificationsServiceKey + const SupportSchedulerServiceKey + const SystemManagementAgentServiceKey + func CountRequest(ctx context.Context, urlSuffix string, urlClient interfaces.URLClient) (int, error) + func DeleteRequest(ctx context.Context, urlSuffix string, urlClient interfaces.URLClient) error + func FromContext(ctx context.Context, key string) string + func GetRequest(ctx context.Context, urlSuffix string, urlClient interfaces.URLClient) ([]byte, error) + func GetRequestWithURL(ctx context.Context, url string) ([]byte, error) + func PostJSONRequest(ctx context.Context, urlSuffix string, data interface{}, ...) (string, error) + func PostJSONRequestWithURL(ctx context.Context, url string, data interface{}) (string, error) + func PostRequest(ctx context.Context, urlSuffix string, data []byte, ...) (string, error) + func PostRequestWithURL(ctx context.Context, url string, data []byte) (string, error) + func PutRequest(ctx context.Context, urlSuffix string, body []byte, ...) (string, error) + func UpdateRequest(ctx context.Context, urlSuffix string, data interface{}, ...) error + func UploadFileRequest(ctx context.Context, urlSuffix string, filePath string, ...) (string, error) + type CorrelatedRequest struct + func NewCorrelatedRequest(ctx context.Context, req *http.Request) CorrelatedRequest