Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewImpl, repo.ProviderSet)
ProviderSet is a provider set for wire
Functions ¶
This section is empty.
Types ¶
type IBiz ¶
type IBiz interface { // GetByID serve caller to given id to get an activity information GetByID(ctx contextx.Contextx, id int64) (info *event.Activity, err error) // List serve caller to list all activities by page and size List(ctx contextx.Contextx, page, size int) (infos []*event.Activity, total int, err error) // NewWithMembers serve caller to create an activity NewWithMembers(ctx contextx.Contextx, name string, emails []string) (info *event.Activity, err error) // InviteMembers serve caller to invite members InviteMembers(ctx contextx.Contextx, id int64, emails []string) (info *event.Activity, err error) // ChangeName serve caller to change activity's name ChangeName(ctx contextx.Contextx, id int64, name string) (info *event.Activity, err error) // Delete serve caller to given id to remove an activity Delete(ctx contextx.Contextx, id int64) error }
IBiz declare activity's service function
func CreateIBiz ¶
CreateIBiz serve caller to create an IBiz
Click to show internal directories.
Click to hide internal directories.