Move server to a 'serve' command

This commit is contained in:
2026-03-17 12:31:51 +01:00
parent 2b2d59aa76
commit 0bc41725f8
4 changed files with 253 additions and 210 deletions

3
go.mod
View File

@@ -6,6 +6,7 @@ require (
github.com/go-ldap/ldap/v3 v3.4.8
github.com/jcmturner/goidentity/v6 v6.0.1
github.com/jcmturner/gokrb5/v8 v8.4.4
github.com/spf13/cobra v1.10.2
golang.org/x/crypto v0.21.0
golang.org/x/term v0.18.0
)
@@ -15,10 +16,12 @@ require (
github.com/go-asn1-ber/asn1-ber v1.5.5 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/hashicorp/go-uuid v1.0.3 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/jcmturner/aescts/v2 v2.0.0 // indirect
github.com/jcmturner/dnsutils/v2 v2.0.0 // indirect
github.com/jcmturner/gofork v1.7.6 // indirect
github.com/jcmturner/rpc/v2 v2.0.3 // indirect
github.com/spf13/pflag v1.0.9 // indirect
golang.org/x/net v0.22.0 // indirect
golang.org/x/sys v0.18.0 // indirect
)