Documentation ¶
Index ¶
- func DecodeCreateKeyRequest(_ context.Context, r *http.Request) (interface{}, error)
- func DecodeDecryptRequest(_ context.Context, r *http.Request) (interface{}, error)
- func DecodeEncryptRequest(_ context.Context, r *http.Request) (interface{}, error)
- func DecodeExportKeyRequest(_ context.Context, r *http.Request) (interface{}, error)
- func DecodeReadKeyRequest(ctx context.Context, r *http.Request) (interface{}, error)
- func DecodeWriteKeyRequest(_ context.Context, r *http.Request) (interface{}, error)
- func EncodeResponse(ctx context.Context, w http.ResponseWriter, response interface{}) error
- func HTTPToContext(tracer stdopentracing.Tracer, operationName string, logger log.Logger) httptransport.RequestFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeCreateKeyRequest ¶
DecodeCreateKeyRequest processes the create key request
func DecodeDecryptRequest ¶
DecodeDecryptRequest processes the decrypt request
func DecodeEncryptRequest ¶
DecodeEncryptRequest processes the encrypt request
func DecodeExportKeyRequest ¶
DecodeExportKeyRequest processes the export key request
func DecodeReadKeyRequest ¶
DecodeReadKeyRequest processes the read key request
func DecodeWriteKeyRequest ¶
DecodeWriteKeyRequest processes the write key request
func EncodeResponse ¶
func EncodeResponse(ctx context.Context, w http.ResponseWriter, response interface{}) error
EncodeResponse encodes the passed response object to the HTTP response writer
func HTTPToContext ¶
func HTTPToContext(tracer stdopentracing.Tracer, operationName string, logger log.Logger) httptransport.RequestFunc
HTTPToContext middleware at the transport level
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.