Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StreamServerInterceptor ¶
func StreamServerInterceptor() grpc.StreamServerInterceptor
StreamServerInterceptor returns a new streaming server interceptor for applying request field mask on response. The validity of the field mask is not checked in this method, the check need to be implemented by the user.
func UnaryServerInterceptor ¶
func UnaryServerInterceptor() grpc.UnaryServerInterceptor
UnaryServerInterceptor returns a new unary server interceptor for applying request field mask on response. The validity of the field mask is not checked in this method, the check need to be implemented by the user.
Types ¶
type FieldMaskable ¶
type FieldMaskable interface {
GetFieldMask() *fieldmaskpb.FieldMask
}
Check if a request has a field mask variable
Click to show internal directories.
Click to hide internal directories.