transport

package
v0.0.0-...-29ced6d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2018 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeCreateKeyRequest

func DecodeCreateKeyRequest(_ context.Context, r *http.Request) (interface{}, error)

DecodeCreateKeyRequest processes the create key request

func DecodeDecryptRequest

func DecodeDecryptRequest(_ context.Context, r *http.Request) (interface{}, error)

DecodeDecryptRequest processes the decrypt request

func DecodeEncryptRequest

func DecodeEncryptRequest(_ context.Context, r *http.Request) (interface{}, error)

DecodeEncryptRequest processes the encrypt request

func DecodeExportKeyRequest

func DecodeExportKeyRequest(_ context.Context, r *http.Request) (interface{}, error)

DecodeExportKeyRequest processes the export key request

func DecodeReadKeyRequest

func DecodeReadKeyRequest(ctx context.Context, r *http.Request) (interface{}, error)

DecodeReadKeyRequest processes the read key request

func DecodeWriteKeyRequest

func DecodeWriteKeyRequest(_ context.Context, r *http.Request) (interface{}, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL