mirror of
https://github.com/zitadel/zitadel.git
synced 2025-10-09 07:35:30 +00:00
add basic config and change i18n pkg
This commit is contained in:
@@ -3,12 +3,17 @@ package admin
|
||||
import (
|
||||
"context"
|
||||
|
||||
app "github.com/caos/zitadel/internal/admin"
|
||||
"github.com/caos/zitadel/internal/api/auth"
|
||||
"github.com/caos/zitadel/internal/errors"
|
||||
"github.com/caos/zitadel/pkg/admin/api"
|
||||
)
|
||||
|
||||
type Config struct {
|
||||
App *app.Config
|
||||
API *api.Config
|
||||
}
|
||||
|
||||
func Start(ctx context.Context, config Config) error {
|
||||
func Start(ctx context.Context, config *Config, authZ *auth.Config) error {
|
||||
return errors.ThrowUnimplemented(nil, "ADMIN-n8vw5", "not implemented yet") //TODO: implement
|
||||
}
|
||||
|
7
pkg/admin/api/config.go
Normal file
7
pkg/admin/api/config.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package api
|
||||
|
||||
import "github.com/caos/zitadel/internal/api/grpc"
|
||||
|
||||
type Config struct {
|
||||
GRPC *grpc.Config
|
||||
}
|
Reference in New Issue
Block a user