Versions in this module Expand all Collapse all v1 v1.51.4 Oct 3, 2022 Changes in this version + type FileWatcherInterceptor struct + func NewFileWatcher(file string, duration time.Duration) (*FileWatcherInterceptor, error) + func (i *FileWatcherInterceptor) Close() + func (i *FileWatcherInterceptor) StreamInterceptor(srv interface{}, ss grpc.ServerStream, info *grpc.StreamServerInfo, ...) error + func (i *FileWatcherInterceptor) UnaryInterceptor(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, ...) (interface{}, error) + type StaticInterceptor struct + func NewStatic(authzPolicy string) (*StaticInterceptor, error) + func (i *StaticInterceptor) StreamInterceptor(srv interface{}, ss grpc.ServerStream, _ *grpc.StreamServerInfo, ...) error + func (i *StaticInterceptor) UnaryInterceptor(ctx context.Context, req interface{}, _ *grpc.UnaryServerInfo, ...) (interface{}, error)