Documentation ¶
Index ¶
Constants ¶
View Source
const (
//IntentCompilationHandle handle string
IntentCompilationHandle = handleKey("Handle")
)
Variables ¶
This section is empty.
Functions ¶
func SetupService ¶
func SetupService( WriteService services.WriteService, ReadService services.ReadService, allocator asfservices.IntPoolAllocator, ) (services.Service, error)
SetupService setups all required services and chains them.
Types ¶
type IntentCompilationService ¶
type IntentCompilationService struct { Store Store // contains filtered or unexported fields }
IntentCompilationService represents Intent Compilation Service.
func NewIntentCompilationService ¶
func NewIntentCompilationService() (*IntentCompilationService, error)
NewIntentCompilationService makes a new Intent Compilation Service.
type Store ¶
type Store interface { Create(context.Context, string, []byte) error Put(context.Context, string, []byte) error Get(context.Context, string) ([]byte, error) WatchRecursive(context.Context, string, int64) chan asfetcd.Message DoInTransaction(ctx context.Context, do func(context.Context) error) error Close() error }
Store represents data store that is source of events.
Click to show internal directories.
Click to hide internal directories.