Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middleware ¶
type Middleware func(ParticipantsService) ParticipantsService
Middleware describes a service middleware.
type ParticipantsService ¶
type ParticipantsService interface { CreateAttendee(ctx context.Context, details model.Attendee) (rs string, err error) ReadAttendee(ctx context.Context, query model.Query) (rs []model.Attendee, err error) RmAttendee(ctx context.Context, query model.Query) (rs string, err error) DeleteAttendee(ctx context.Context, query model.Query) (rs string, err error) DeleteAllAttendee(ctx context.Context, query model.Query) (rs string, err error) }
ParticipantsService describes the service.
func New ¶
func New(middleware []Middleware) ParticipantsService
New returns a ParticipantsService with all of the expected middleware wired in.
func NewBasicParticipantsService ¶
func NewBasicParticipantsService() ParticipantsService
NewBasicParticipantsService returns a naive, stateless implementation of ParticipantsService.
Click to show internal directories.
Click to hide internal directories.