Documentation ¶
Index ¶
- func CoapCodeToStatus(code codes.Code) pbRA.Status
- func GrpcCode2CoapCode(statusCode codes.Code, method coapCodes.Code) coapCodes.Code
- func HttpCode2CoapCode(statusCode int, method coapCodes.Code) coapCodes.Code
- func MakeCommandMetadata(sequenceNumber uint64, connectionID string) pbCQRS.CommandMetadata
- func MakeConfirmResourceDeleteRequest(resourceId, correlationId string, authCtx pbCQRS.AuthorizationContext, ...) pbRA.ConfirmResourceDeleteRequest
- func MakeConfirmResourceRetrieveRequest(resourceId, correlationId string, authCtx pbCQRS.AuthorizationContext, ...) pbRA.ConfirmResourceRetrieveRequest
- func MakeConfirmResourceUpdateRequest(resourceId, correlationId string, authCtx pbCQRS.AuthorizationContext, ...) pbRA.ConfirmResourceUpdateRequest
- func MakeContent(opts message.Options, body io.Reader) pbRA.Content
- func MakeMediaType(coapContentFormat int32, contentType string) (message.MediaType, error)
- func MakeNotifyResourceChangedRequest(resourceId string, authCtx pbCQRS.AuthorizationContext, connectionID string, ...) pbRA.NotifyResourceChangedRequest
- func MakeRetrieveResourceRequest(resourceId, resourceInterface, correlationId string, ...) pbRA.RetrieveResourceRequest
- func MakeUpdateResourceRequest(deviceID, href string, req *mux.Message) *pbGRPC.UpdateResourceValuesRequest
- func NewCoapResourceDeleteRequest(ctx context.Context, event *pb.Event_ResourceDeletePending) (*pool.Message, error)
- func NewCoapResourceRetrieveRequest(ctx context.Context, event *pb.Event_ResourceRetrievePending) (*pool.Message, error)
- func NewCoapResourceUpdateRequest(ctx context.Context, event *pb.Event_ResourceUpdatePending) (*pool.Message, error)
- func StatusToCoapCode(status pbGRPC.Status, cmdCode codes.Code) codes.Code
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GrpcCode2CoapCode ¶
func HttpCode2CoapCode ¶
func MakeCommandMetadata ¶
func MakeCommandMetadata(sequenceNumber uint64, connectionID string) pbCQRS.CommandMetadata
func MakeConfirmResourceDeleteRequest ¶ added in v1.1.0
func MakeConfirmResourceDeleteRequest(resourceId, correlationId string, authCtx pbCQRS.AuthorizationContext, connectionID string, req *pool.Message) pbRA.ConfirmResourceDeleteRequest
func MakeConfirmResourceRetrieveRequest ¶
func MakeConfirmResourceRetrieveRequest(resourceId, correlationId string, authCtx pbCQRS.AuthorizationContext, connectionID string, req *pool.Message) pbRA.ConfirmResourceRetrieveRequest
func MakeConfirmResourceUpdateRequest ¶
func MakeConfirmResourceUpdateRequest(resourceId, correlationId string, authCtx pbCQRS.AuthorizationContext, connectionID string, req *pool.Message) pbRA.ConfirmResourceUpdateRequest
func MakeMediaType ¶
func MakeNotifyResourceChangedRequest ¶
func MakeNotifyResourceChangedRequest(resourceId string, authCtx pbCQRS.AuthorizationContext, connectionID string, req *pool.Message) pbRA.NotifyResourceChangedRequest
func MakeRetrieveResourceRequest ¶
func MakeRetrieveResourceRequest(resourceId, resourceInterface, correlationId string, authCtx pbCQRS.AuthorizationContext, connectionID string, req *mux.Message) pbRA.RetrieveResourceRequest
func MakeUpdateResourceRequest ¶
func MakeUpdateResourceRequest(deviceID, href string, req *mux.Message) *pbGRPC.UpdateResourceValuesRequest
func NewCoapResourceDeleteRequest ¶ added in v1.1.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.