added main cmd structure

This commit is contained in:
Livio Amstutz
2020-03-18 15:46:41 +01:00
parent d3cb575e1d
commit af8905036b
7 changed files with 409 additions and 0 deletions

14
pkg/admin/admin.go Normal file
View File

@@ -0,0 +1,14 @@
package admin
import (
"context"
"github.com/caos/zitadel/internal/errors"
)
type Config struct {
}
func Start(ctx context.Context, config Config) error {
return errors.ThrowUnimplemented(nil, "", "") //TODO: implement
}

14
pkg/auth/auth.go Normal file
View File

@@ -0,0 +1,14 @@
package auth
import (
"context"
"github.com/caos/zitadel/internal/errors"
)
type Config struct {
}
func Start(ctx context.Context, config Config) error {
return errors.ThrowUnimplemented(nil, "", "") //TODO: implement
}

View File

@@ -0,0 +1,14 @@
package eventstore
import (
"context"
"github.com/caos/zitadel/internal/errors"
)
type Config struct {
}
func Start(ctx context.Context, config Config) error {
return errors.ThrowUnimplemented(nil, "", "") //TODO: implement
}

View File

@@ -0,0 +1,14 @@
package management
import (
"context"
"github.com/caos/zitadel/internal/errors"
)
type Config struct {
}
func Start(ctx context.Context, config Config) error {
return errors.ThrowUnimplemented(nil, "", "") //TODO: implement
}