Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPError ¶
func NewHTTPError ¶
func (HTTPError) WriteTo ¶
func (e HTTPError) WriteTo(w http.ResponseWriter)
TODO(xiangli): handle http write errors
type MemberCollection ¶
type MemberCollection []Member
func (*MemberCollection) MarshalJSON ¶
func (c *MemberCollection) MarshalJSON() ([]byte, error)
func (*MemberCollection) UnmarshalJSON ¶
func (c *MemberCollection) UnmarshalJSON(data []byte) error
type MemberCreateRequest ¶
func (*MemberCreateRequest) MarshalJSON ¶
func (m *MemberCreateRequest) MarshalJSON() ([]byte, error)
func (*MemberCreateRequest) UnmarshalJSON ¶
func (m *MemberCreateRequest) UnmarshalJSON(data []byte) error
type MemberUpdateRequest ¶
type MemberUpdateRequest struct {
MemberCreateRequest
}
Click to show internal directories.
Click to hide internal directories.