fieldmaskx

package
v0.1.26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL