Documentation ¶
Overview ¶
Package httptypes defines how etcd's HTTP API entities are serialized to and deserialized from JSON.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPError ¶
type HTTPError struct { Message string `json:"message"` // Code is the HTTP status code Code int `json:"-"` }
func NewHTTPError ¶
type MemberCollection ¶
type MemberCollection []Member
func (*MemberCollection) MarshalJSON ¶
func (c *MemberCollection) MarshalJSON() ([]byte, error)
type MemberCreateRequest ¶
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.