Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthInterceptor ¶
type AuthInterceptor interface {
JwtAuth(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error)
}
func NewAuthInterceptor ¶
func NewAuthInterceptor( accountService accountService.AccountService, ) AuthInterceptor
Click to show internal directories.
Click to hide internal directories.