Documentation ¶
Index ¶
- func DecodeMsgToDebug(deviceID string, resp *pool.Message, tag string)
- func GetErrorResponse(ctx context.Context, messagePool *pool.Pool, code codes.Code, ...) (*pool.Message, func())
- func GetResourceInterface(msg *mux.Message) string
- func GetResponse(ctx context.Context, messagePool *pool.Pool, code codes.Code, ...) (*pool.Message, func())
- func LogAndGetErrorResponse(ctx context.Context, messagePool *pool.Pool, code codes.Code, ...) (*pool.Message, func())
- func URIToDeviceIDHref(msg *mux.Message) (deviceID, href string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetErrorResponse ¶
func GetResourceInterface ¶
Get resource interface from request query.
func GetResponse ¶
func LogAndGetErrorResponse ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.