package
1.72.0-dev
Repository: https://github.com/grpc/grpc-go.git
Documentation: pkg.go.dev

# Packages

Package audit contains interfaces for audit logging during authorization.

# Functions

NewFileWatcher returns a new FileWatcherInterceptor from a policy file that contains JSON string of authorization policy and a refresh duration to specify the amount of time between policy refreshes.
NewStatic returns a new StaticInterceptor from a static authorization policy JSON string.

# Structs

FileWatcherInterceptor contains details used to make authorization decisions by watching a file path that contains authorization policy in JSON format.
StaticInterceptor contains engines used to make authorization decisions.