Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidAddress = status.Errorf(codes.InvalidArgument, "invalid address")
View Source
var ErrInvalidAuthorization = status.Error(codes.Unauthenticated, "invalid authorization")
Functions ¶
This section is empty.
Types ¶
type PasswordAuth ¶
type PasswordAuth struct {
// contains filtered or unexported fields
}
func NewPasswordAuth ¶
func NewPasswordAuth(password string) *PasswordAuth
func (*PasswordAuth) StreamServerInterceptor ¶
func (auth *PasswordAuth) StreamServerInterceptor() grpc.StreamServerInterceptor
func (*PasswordAuth) UnaryServerInterceptor ¶
func (auth *PasswordAuth) UnaryServerInterceptor() grpc.UnaryServerInterceptor
type RpcServer ¶
type RpcServer struct {
// contains filtered or unexported fields
}
func NewRpcServer ¶
Click to show internal directories.
Click to hide internal directories.