Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAuthenticationRequired = status.New(codes.Unauthenticated, model.ErrAuthenticationRequired)
View Source
var ErrSessionInvalidUser = status.New(codes.Unauthenticated, model.ErrSessionInvalidUser)
View Source
var ErrSessionWithoutAuth = status.New(codes.Unauthenticated, model.ErrSessionWithoutAuth)
View Source
var (
TestGoodPing = &testpb.PingRequest{Value: "something", SleepTimeMs: 9999} //nolint:gomnd
)
Functions ¶
func GetSessionUser ¶
Types ¶
type TestJwtAuthPingService ¶
type TestJwtAuthPingService struct {
testpb.TestServiceServer
T *testing.T
}
func (*TestJwtAuthPingService) Ping ¶
func (s *TestJwtAuthPingService) Ping(ctx context.Context, ping *testpb.PingRequest) (*testpb.PingResponse, error)
func (*TestJwtAuthPingService) PingError ¶
func (s *TestJwtAuthPingService) PingError(ctx context.Context, ping *testpb.PingErrorRequest) (*testpb.PingErrorResponse, error)
Click to show internal directories.
Click to hide internal directories.