Documentation ¶
Index ¶
- type Service
- func (s *Service) EnsureAsyncContext(ctx context.Context, aSession *session.Session, ...) (context.Context, error)
- func (s *Service) EnsureContext(ctx context.Context, aSession *session.Session, ...) (context.Context, error)
- func (s *Service) EnsureInput(ctx context.Context, aComponent *repository.Component, ...) (context.Context, error)
- func (s *Service) HandleError(ctx context.Context, aSession *session.Session, ...) (interface{}, error)
- func (s *Service) HandlerSession(ctx context.Context, aComponent *repository.Component, ...) (xhandler.Session, error)
- func (s *Service) InvocationType(ctx context.Context) async.InvocationType
- func (s *Service) IsEventInvocation(ctx context.Context) bool
- func (s *Service) Job(ctx context.Context) *async.Job
- func (s *Service) Operate(ctx context.Context, aSession *session.Session, ...) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) EnsureAsyncContext ¶
func (*Service) EnsureContext ¶
func (*Service) EnsureInput ¶
func (*Service) HandleError ¶
func (s *Service) HandleError(ctx context.Context, aSession *session.Session, aComponent *repository.Component, err error) (interface{}, error)
HandleError processes output with error
func (*Service) HandlerSession ¶
func (s *Service) HandlerSession(ctx context.Context, aComponent *repository.Component, aSession *session.Session) (xhandler.Session, error)
HandlerSession returns a handler session
func (*Service) InvocationType ¶
func (s *Service) InvocationType(ctx context.Context) async.InvocationType
Click to show internal directories.
Click to hide internal directories.