Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MemberBulkDeletePayload ¶ added in v1.6.17
type MemberBulkDeletePayload struct {
IDs []string `json:"ids"`
}
type MemberBulkUpdatePayload ¶
type MemberBulkUpdatePayload struct { IDs []string `json:"ids"` Profile types.MemberProfile `json:"profile"` }
type MemberCreatePayload ¶
type MemberCreatePayload struct { Username string `json:"username"` Password string `json:"password"` Profile types.MemberProfile `json:"profile"` }
type MemberData ¶
type MemberData struct { ID string Profile types.MemberProfile }
func GetMember ¶
func GetMember(r *http.Request) MemberData
type MemberDataPayload ¶
type MemberDataPayload struct { ID string `json:"id"` Profile types.MemberProfile `json:"profile"` }
type MemberPasswordPayload ¶
type MemberPasswordPayload struct {
Password string `json:"password"`
}
type MembersHandler ¶
type MembersHandler struct {
// contains filtered or unexported fields
}
func New ¶
func New( members types.MemberManager, ) *MembersHandler
func (*MembersHandler) ExtractMember ¶
func (h *MembersHandler) ExtractMember(w http.ResponseWriter, r *http.Request) (context.Context, error)
func (*MembersHandler) Route ¶
func (h *MembersHandler) Route(r types.Router)
func (*MembersHandler) RouteBulk ¶
func (h *MembersHandler) RouteBulk(r types.Router)
Click to show internal directories.
Click to hide internal directories.