Documentation ¶
Index ¶
- Variables
- func DecodeHealthCheckRequest(ctx context.Context, r interface{}) (interface{}, error)
- func DecodeUpdateRequest(ctx context.Context, r interface{}) (interface{}, error)
- func DecodeViewRequest(ctx context.Context, r interface{}) (interface{}, error)
- func DecodeWatchRequest(ctx context.Context, r interface{}) (interface{}, error)
- func EncodeHealthCheckResponse(_ context.Context, r interface{}) (interface{}, error)
- func EncodeUpdateResponse(_ context.Context, r interface{}) (interface{}, error)
- func EncodeViewResponse(_ context.Context, r interface{}) (interface{}, error)
- func EncodeWatchResponse(_ context.Context, r interface{}) (interface{}, error)
- func NewGRPCHandlers(ctx context.Context, endpoints endpoint.BifrostEndpoints) *gRPCHandlers
- func NewHealthCheckHandler(ctx context.Context, endpoints endpoint.BifrostEndpoints) grpc_health_v1.HealthServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ChunkSize = 1024 ErrRequestInconsistent = errors.New("the request is inconsistent") ErrRecvTimeout = errors.New("receive timeout during data wrap") ErrUnknownRequest = errors.New("unknown request error") ErrInvalidHealthCheckRequest = errors.New("request has only one: HealthCheckRequest") ErrUnknownResponse = errors.New("unknown response error") ErrWatcherCloseTimeout = errors.New("close watcher timeout") )
Functions ¶
func DecodeUpdateRequest ¶
func DecodeViewRequest ¶
func DecodeWatchRequest ¶
func EncodeUpdateResponse ¶
func EncodeViewResponse ¶
func EncodeWatchResponse ¶
func NewGRPCHandlers ¶
func NewGRPCHandlers(ctx context.Context, endpoints endpoint.BifrostEndpoints) *gRPCHandlers
func NewHealthCheckHandler ¶
func NewHealthCheckHandler(ctx context.Context, endpoints endpoint.BifrostEndpoints) grpc_health_v1.HealthServer
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.