packages feed

grapesy-etcd-0.2.0: src/Proto/API/Etcd.hs

{-# OPTIONS_GHC -Wno-orphans #-}

module Proto.API.Etcd (
    module Proto.Etcd.Api.Etcdserverpb.Rpc,
) where

import Network.GRPC.Common (
    NoMetadata,
    RequestMetadata,
    ResponseInitialMetadata,
    ResponseTrailingMetadata,
 )
import Network.GRPC.Common.Protobuf (Protobuf)
import Proto.Etcd.Api.Etcdserverpb.Rpc (KV, PutRequest, PutResponse, RangeRequest, RangeResponse, Watch, WatchRequest, WatchResponse)

{-------------------------------------------------------------------------------
  Metadata
-------------------------------------------------------------------------------}

type instance RequestMetadata (Protobuf KV meth) = NoMetadata
type instance ResponseInitialMetadata (Protobuf KV meth) = NoMetadata
type instance ResponseTrailingMetadata (Protobuf KV meth) = NoMetadata

type instance RequestMetadata (Protobuf Watch meth) = NoMetadata
type instance ResponseInitialMetadata (Protobuf Watch meth) = NoMetadata
type instance ResponseTrailingMetadata (Protobuf Watch meth) = NoMetadata