add basic config and change i18n pkg

This commit is contained in:
Livio Amstutz
2020-03-25 07:58:58 +01:00
parent 96b88f5d8c
commit 5cd9ca506a
21 changed files with 515 additions and 19 deletions
+4
View File
@@ -0,0 +1,4 @@
package api
type Config struct {
}
+18
View File
@@ -0,0 +1,18 @@
package login
import (
"context"
"github.com/caos/zitadel/internal/errors"
app "github.com/caos/zitadel/internal/login"
"github.com/caos/zitadel/pkg/login/api"
)
type Config struct {
App *app.Config
API *api.Config
}
func Start(ctx context.Context, config *Config) error {
return errors.ThrowUnimplemented(nil, "LOGIN-3fwvD", "not implemented yet") //TODO: implement
}