headscale/hscontrol/db
nadongjun fdc034e8ae
Integrate GORM Logger with Zerolog and Add Configuration Options for Logging and Performance (#2040)
* Integrate GORM logger with zerolog and add custom GORM configuration options

* Add GormConfig struct to group GORM-related settings

* Update debug mode instruction in config-example.yaml

Co-authored-by: Kristoffer Dalby <kristoffer@dalby.cc>

---------

Co-authored-by: Kristoffer Dalby <kristoffer@dalby.cc>
2024-08-19 11:47:52 +02:00
..
api_key_test.go Replace the timestamp based state system 2023-09-19 10:20:21 -05:00
api_key.go Replace database locks with transactions (#1701) 2024-02-08 17:28:19 +01:00
db.go Integrate GORM Logger with Zerolog and Add Configuration Options for Logging and Performance (#2040) 2024-08-19 11:47:52 +02:00
ip_test.go reformat code (#2019) 2024-07-22 08:56:00 +02:00
ip.go reformat code (#2019) 2024-07-22 08:56:00 +02:00
node_test.go Fix data race issues in EphemeralGarbageCollector tests (#2023) 2024-07-22 15:11:57 +00:00
node.go replace ephemeral deletion logic (#2008) 2024-07-18 10:01:59 +02:00
policy.go reformat code (#2019) 2024-07-22 08:56:00 +02:00
preauth_keys_test.go replace ephemeral deletion logic (#2008) 2024-07-18 10:01:59 +02:00
preauth_keys.go replace ephemeral deletion logic (#2008) 2024-07-18 10:01:59 +02:00
routes_test.go reformat code (#2019) 2024-07-22 08:56:00 +02:00
routes.go reformat code (#2019) 2024-07-22 08:56:00 +02:00
suite_test.go replace ephemeral deletion logic (#2008) 2024-07-18 10:01:59 +02:00
users_test.go replace ephemeral deletion logic (#2008) 2024-07-18 10:01:59 +02:00
users.go more log.Error -> fmt.Errorf cleanup 2024-04-15 12:31:53 +02:00