You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
602 B
21 lines
602 B
//go:build !(js && wasm) |
|
|
|
package sync |
|
|
|
import ( |
|
"context" |
|
|
|
"next.orly.dev/pkg/database" |
|
) |
|
|
|
func init() { |
|
// Register the RelayGroup driver with the driver registry. |
|
RegisterDriver("relaygroup", "Relay group configuration management", relaygroupFactory) |
|
} |
|
|
|
// relaygroupFactory creates a new RelayGroup sync service instance. |
|
func relaygroupFactory(ctx context.Context, db database.Database, cfg *DriverConfig) (Service, error) { |
|
// RelayGroup is implemented as a manager service |
|
// The actual implementation would create a relaygroup.Manager here |
|
return &stubService{name: "relaygroup"}, nil |
|
}
|
|
|