Documentation ¶
Index ¶
- Constants
- func CancelBookingByCarrierBookingReferenceWorkflow(ctx workflow.Context, ...) (*bkgproto.CancelBookingByCarrierBookingReferenceResponse, error)
- func CreateBookingWorkflow(ctx workflow.Context, form *bkgproto.CreateBookingRequest, tokenString string, ...) (*bkgproto.CreateBookingResponse, error)
- func UpdateBookingWorkflow(ctx workflow.Context, ...) (string, error)
- type BkgActivities
- func (b *BkgActivities) CancelBookingByCarrierBookingReferenceActivity(ctx context.Context, ...) (*bkgproto.CancelBookingByCarrierBookingReferenceResponse, error)
- func (b *BkgActivities) CreateBookingActivity(ctx context.Context, form *bkgproto.CreateBookingRequest, tokenString string, ...) (*bkgproto.CreateBookingResponse, error)
- func (b *BkgActivities) UpdateBookingActivity(ctx context.Context, ...) (string, error)
Constants ¶
View Source
const (
// ApplicationName is the task list
ApplicationName = "dcsa"
)
Variables ¶
This section is empty.
Functions ¶
func CancelBookingByCarrierBookingReferenceWorkflow ¶
func CancelBookingByCarrierBookingReferenceWorkflow(ctx workflow.Context, form *bkgproto.CancelBookingByCarrierBookingReferenceRequest, tokenString string, user *partyproto.GetAuthUserDetailsResponse, log *zap.Logger) (*bkgproto.CancelBookingByCarrierBookingReferenceResponse, error)
CancelBookingByCarrierBookingReferenceWorkflow - Cancel Booking By CarrierBookingReference workflow
func CreateBookingWorkflow ¶
func CreateBookingWorkflow(ctx workflow.Context, form *bkgproto.CreateBookingRequest, tokenString string, user *partyproto.GetAuthUserDetailsResponse, log *zap.Logger) (*bkgproto.CreateBookingResponse, error)
CreateBookingWorkflow - Create Booking workflow
func UpdateBookingWorkflow ¶
func UpdateBookingWorkflow(ctx workflow.Context, form *bkgproto.UpdateBookingByReferenceCarrierBookingRequestReferenceRequest, tokenString string, user *partyproto.GetAuthUserDetailsResponse, log *zap.Logger) (string, error)
UpdateBookingWorkflow - update Booking workflow
Types ¶
type BkgActivities ¶
type BkgActivities struct {
BkgServiceClient bkgproto.BkgServiceClient
}
func (*BkgActivities) CancelBookingByCarrierBookingReferenceActivity ¶
func (b *BkgActivities) CancelBookingByCarrierBookingReferenceActivity(ctx context.Context, form *bkgproto.CancelBookingByCarrierBookingReferenceRequest, tokenString string, user *partyproto.GetAuthUserDetailsResponse, log *zap.Logger) (*bkgproto.CancelBookingByCarrierBookingReferenceResponse, error)
CancelBookingByCarrierBookingReferenceActivity - Cancel Booking By CarrierBookingRequestReference activity
func (*BkgActivities) CreateBookingActivity ¶
func (b *BkgActivities) CreateBookingActivity(ctx context.Context, form *bkgproto.CreateBookingRequest, tokenString string, user *partyproto.GetAuthUserDetailsResponse, log *zap.Logger) (*bkgproto.CreateBookingResponse, error)
CreateBookingActivity - Create Booking activity
func (*BkgActivities) UpdateBookingActivity ¶
func (b *BkgActivities) UpdateBookingActivity(ctx context.Context, form *bkgproto.UpdateBookingByReferenceCarrierBookingRequestReferenceRequest, tokenString string, user *partyproto.GetAuthUserDetailsResponse, log *zap.Logger) (string, error)
UpdateBookingActivity - update Booking activity
Click to show internal directories.
Click to hide internal directories.