• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

matzefriedrich / containerssh-authserver / 24857719125

23 Apr 2026 08:30PM UTC coverage: 26.006% (+0.1%) from 25.859%
24857719125

Pull #47

github

matzefriedrich
Updates the changelog
Pull Request #47: feature/password auth

35 of 112 new or added lines in 8 files covered. (31.25%)

168 of 646 relevant lines covered (26.01%)

0.41 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/internal/modules/route_handlers_module.go
1
package modules
2

3
import (
4
        "context"
5

6
        "github.com/matzefriedrich/containerssh-authserver/internal/handlers"
7

8
        "github.com/matzefriedrich/parsley/pkg/features"
9
        "github.com/matzefriedrich/parsley/pkg/registration"
10
        "github.com/matzefriedrich/parsley/pkg/types"
11
)
12

13
// RouteHandlersModule registers various route handlers in the provided service registry.
14
// It includes password, configuration, and public key handlers for route handling logic.
15
func RouteHandlersModule(registry types.ServiceRegistry) error {
×
16

×
17
        _ = features.RegisterList[handlers.RouteHandler](context.Background(), registry)
×
18

×
19
        _ = registration.RegisterTransient(registry, handlers.NewConfigHookHandler)
×
20
        _ = registration.RegisterTransient(registry, handlers.NewPubKeyHookHandler)
×
NEW
21
        _ = registration.RegisterTransient(registry, handlers.NewPasswordHookHandler)
×
22

×
23
        return nil
×
24
}
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc