Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRPCAuthDialOptions ¶
func GetRPCAuthDialOptions(conf *setting.RPCAuthSettingS) (opts []grpc.DialOption)
func RPCCredentials ¶
func RPCCredentials(sharedSecret string) credentials.PerRPCCredentials
func TokenValidityDuration ¶
Types ¶
type AuthInterceptor ¶
type AuthInterceptor struct {
App *kelvins.GRPCApplication
}
func (*AuthInterceptor) StreamServerInterceptor ¶
func (i *AuthInterceptor) StreamServerInterceptor(conf *setting.RPCAuthSettingS) grpc.StreamServerInterceptor
func (*AuthInterceptor) UnaryServerInterceptor ¶
func (i *AuthInterceptor) UnaryServerInterceptor(conf *setting.RPCAuthSettingS) grpc.UnaryServerInterceptor
Click to show internal directories.
Click to hide internal directories.