crash.software
Projects
Pull Requests
Issues
Builds
dolt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dolt
Files
🤬
Sign In
v0.50.6
ROOT
/
go
/
libraries
/
doltcore
/
sqle
/
cluster
/
interceptors.go
Search
History
243 lines
|
ISO-8859-1
|
10 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
clusterRoleHeader
clusterRoleEpochHeader
clientinterceptor
lgr
:
*logrus.Entry
role
:
Role
epoch
:
int
mu
:
sync.Mutex
roleSetter
:
func(role string, epoch int)
serverinterceptor
lgr
:
*logrus.Entry
role
:
Role
epoch
:
int
mu
:
sync.Mutex
roleSetter
:
func(role string, epoch int)
*clientinterceptor
setRole
(role Role, epoch int)
getRole
()
:
(Role, int)
Stream
()
:
grpc.StreamClientInterceptor
Unary
()
:
grpc.UnaryClientInterceptor
handleResponseHeaders
(header metadata.MD, role Role, epoch int)
Options
()
:
[]grpc.DialOption
*serverinterceptor
Stream
()
:
grpc.StreamServerInterceptor
Unary
()
:
grpc.UnaryServerInterceptor
handleRequestHeaders
(header metadata.MD, role Role, epoch int)
Options
()
:
[]grpc.ServerOption
setRole
(role Role, epoch int)
getRole
()
:
(Role, int)
All occurrences
Please wait...
Page is in error, reload to recover