Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Modifier ¶
type Modifier struct {
// contains filtered or unexported fields
}
Modifier defines a store to save session
func NewModifier ¶ added in v0.0.2
NewModifier returns a gateway input/output modifier
func (*Modifier) MetadataAnnotator ¶
MetadataAnnotator looks up session and passes session data and jwt token to gRPC method
func (*Modifier) ResponseModifier ¶ added in v0.0.2
func (m *Modifier) ResponseModifier(ctx context.Context, w http.ResponseWriter, resp protoiface.MessageV1) error
ResponseModifier checks whether the gRPC method called has requested for changing the response before the http response is sent
Click to show internal directories.
Click to hide internal directories.