Versions in this module Expand all Collapse all v2 v2.0.1 Oct 5, 2021 Changes in this version + type Context struct + Dic *di.Container + func NewContext(correlationID string, dic *di.Container, inputContentType string) *Context + func (appContext *Context) AddValue(key string, value string) + func (appContext *Context) ApplyValues(format string) (string, error) + func (appContext *Context) Clone() interfaces.AppFunctionContext + func (appContext *Context) CommandClient() clients.CommandClient + func (appContext *Context) CorrelationID() string + func (appContext *Context) DeviceClient() clients.DeviceClient + func (appContext *Context) DeviceProfileClient() clients.DeviceProfileClient + func (appContext *Context) DeviceServiceClient() clients.DeviceServiceClient + func (appContext *Context) EventClient() clients.EventClient + func (appContext *Context) GetAllValues() map[string]string + func (appContext *Context) GetDeviceResource(profileName string, resourceName string) (dtos.DeviceResource, error) + func (appContext *Context) GetSecret(path string, keys ...string) (map[string]string, error) + func (appContext *Context) GetValue(key string) (string, bool) + func (appContext *Context) InputContentType() string + func (appContext *Context) LoggingClient() logger.LoggingClient + func (appContext *Context) NotificationClient() clients.NotificationClient + func (appContext *Context) PipelineId() string + func (appContext *Context) PushToCore(event dtos.Event) (common.BaseWithIdResponse, error) + func (appContext *Context) RemoveValue(key string) + func (appContext *Context) ResponseContentType() string + func (appContext *Context) ResponseData() []byte + func (appContext *Context) RetryData() []byte + func (appContext *Context) SecretsLastUpdated() time.Time + func (appContext *Context) SetCorrelationID(id string) + func (appContext *Context) SetInputContentType(contentType string) + func (appContext *Context) SetResponseContentType(contentType string) + func (appContext *Context) SetResponseData(output []byte) + func (appContext *Context) SetRetryData(payload []byte) + func (appContext *Context) SubscriptionClient() clients.SubscriptionClient