Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthInterceptor ¶
type AuthInterceptor struct {
// contains filtered or unexported fields
}
AuthInterceptor клиентский перехватчик для авторизации
func NewAuthInterceptor ¶
func NewAuthInterceptor(token string) *AuthInterceptor
NewAuthInterceptor создает новый перехватчик AuthInterceptor
func (*AuthInterceptor) Unary ¶
func (interceptor *AuthInterceptor) Unary() grpc.UnaryClientInterceptor
Unary возвращает клиентскую функцию-перехватчик для авторизации одиночных RPC запросов
Click to show internal directories.
Click to hide internal directories.