github.com/yandex/pandora@v0.5.32/components/providers/scenario/grpc/postprocessor/postprocessor.go (about)

     1  package postprocessor
     2  
     3  import (
     4  	"github.com/golang/protobuf/proto"
     5  )
     6  
     7  type Config struct {
     8  	Mapping map[string]string
     9  }
    10  
    11  type Postprocessor interface {
    12  	Process(out proto.Message, code int) (map[string]any, error)
    13  }