refactor: move federated server logic to its own service (#2914)

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
Ettore Di Giacinto 2024-07-18 19:15:15 +02:00 committed by GitHub
parent bf9dd1de7f
commit 24a8eebcef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 153 additions and 124 deletions

View file

@ -14,6 +14,10 @@ func GenerateToken() string {
return "not implemented"
}
func (f *FederatedServer) Start(ctx context.Context) error {
return fmt.Errorf("not implemented")
}
func ServiceDiscoverer(ctx context.Context, node *node.Node, token, servicesID string, fn func(string, NodeData)) error {
return fmt.Errorf("not implemented")
}