Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroupApplication ¶
type GroupApplication interface { Index(ctx context.Context) ([]*group.Group, []*group.Group, error) Show(ctx context.Context, groupID string) (*group.Group, error) Create(ctx context.Context, req *request.CreateGroup) (*group.Group, error) Update(ctx context.Context, req *request.UpdateGroup, groupID string) (*group.Group, error) AddUsers(ctx context.Context, req *request.AddUsersInGroup, groupID string) (*group.Group, error) ctx context.Context, req *request.AddUnauthorizedUsersInGroup, groupID string, ) (*group.Group, error) RemoveUsers(ctx context.Context, req *request.RemoveUsersInGroup, groupID string) (*group.Group, error) AddHiddenGroup(ctx context.Context, groupID string) ([]*group.Group, []*group.Group, error) RemoveHiddenGroup(ctx context.Context, groupID string) ([]*group.Group, []*group.Group, error) Destroy(ctx context.Context, groupID string) error }
GroupApplication - GroupApplicationインターフェース
func NewGroupApplication ¶
func NewGroupApplication( grv validation.GroupRequestValidation, us user.UserService, gs group.GroupService, ) GroupApplication
NewGroupApplication - GroupApplicationの生成
type PaymentApplication ¶
type PaymentApplication interface { Index( ctx context.Context, groupID string, startAt string, currency string, ) ([]*payment.Payment, map[string]*payment.Payer, string, error) Create(ctx context.Context, req *request.CreatePayment, groupID string) (*payment.Payment, error) Update(ctx context.Context, req *request.UpdatePayment, groupID string, paymentID string) (*payment.Payment, error) UpdatePayer( ctx context.Context, req *request.UpdatePayerInPayment, groupID string, paymentID string, payerID string, ) (*payment.Payment, error) UpdateStatus(ctx context.Context, groupID string, paymentID string) (*payment.Payment, error) UpdateStatusAll(ctx context.Context, groupID string) ([]*payment.Payment, map[string]*payment.Payer, string, error) Destroy(ctx context.Context, groupID string, paymentID string) error }
PaymentApplication - PaymentApplicationインターフェース
func NewPaymentApplication ¶
func NewPaymentApplication( prv validation.PaymentRequestValidation, us user.UserService, ps payment.PaymentService, es exchange.ExchangeService, ) PaymentApplication
NewPaymentApplication - PaymentApplicationの生成
Click to show internal directories.
Click to hide internal directories.