zitadel/pkg/admin/admin.go

18 lines
324 B
Go
Raw Permalink Normal View History

2020-03-18 15:46:41 +01:00
package admin
import (
"context"
2020-03-25 07:58:58 +01:00
app "github.com/caos/zitadel/internal/admin"
"github.com/caos/zitadel/internal/api/auth"
"github.com/caos/zitadel/pkg/admin/api"
2020-03-18 15:46:41 +01:00
)
type Config struct {
2020-03-30 07:23:43 +02:00
App app.Config
API api.Config
2020-03-18 15:46:41 +01:00
}
func Start(ctx context.Context, config Config, authZ auth.Config) {
api.Start(ctx, config.API)
2020-03-18 15:46:41 +01:00
}