Documentation ¶
Index ¶
- type CreatePostRequest
- type CreatePostResponse
- type DeletePostRequest
- type DeletePostResponse
- type Link
- type LinkRequest
- type LoginRequest
- type LoginResponse
- type LogoutRequest
- type LogoutResponse
- type RegisterRequest
- type RegisterResponse
- type ViewPostRequest
- type ViewPostResponse
- type VisitPostRequest
- type VisitPostResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreatePostRequest ¶
type CreatePostRequest struct { User string `json:"user"` Links []LinkRequest `json:"links"` DeciderType string `json:"decider_type"` }
type CreatePostResponse ¶
type CreatePostResponse struct { Key string `json:"key"` // contains filtered or unexported fields }
type DeletePostRequest ¶
type DeletePostRequest struct {
Key string `json:"key"`
}
type DeletePostResponse ¶
type DeletePostResponse struct {
// contains filtered or unexported fields
}
type LinkRequest ¶
type LoginRequest ¶
type LoginResponse ¶
type LogoutRequest ¶
type LogoutRequest struct { }
type LogoutResponse ¶
type LogoutResponse struct {
// contains filtered or unexported fields
}
type RegisterRequest ¶
type RegisterRequest struct {
LoginRequest
}
type RegisterResponse ¶
type RegisterResponse struct {
// contains filtered or unexported fields
}
type ViewPostRequest ¶
type ViewPostRequest struct {
Key string `json:"key"`
}
type ViewPostResponse ¶
type VisitPostRequest ¶
type VisitPostRequest struct {
Key string `json:"key"`
}
type VisitPostResponse ¶
type VisitPostResponse struct { Link string `json:"link"` // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.