3
0
corteza/sdk/plugin/plugin.go
2021-11-02 18:45:08 +01:00

27 lines
434 B
Go

package plugin
import (
"context"
"github.com/cortezaproject/corteza-server/automation/types"
"go.uber.org/zap"
)
type (
Setup interface {
Setup(log *zap.Logger) error
}
Initialize interface {
Initialize(ctx context.Context, log *zap.Logger) error
}
AutomationFunctionsProvider interface {
AutomationFunctions() []*types.Function
}
//AutomationTypesProvider interface {
// AutomationTypes() []*expr.Type
//}
)