Documentation ¶
Index ¶
- type BookmarkRequest
- type DeleteTeamRequest
- type EmailPasswordRequest
- type InviteRequest
- type KickRequest
- type PaperCreateRequest
- type ShareRequest
- type TeamEndpoint
- func (ep TeamEndpoint) Create(ctx context.Context, r interface{}) (interface{}, error)
- func (ep TeamEndpoint) Delete(ctx context.Context, r interface{}) (interface{}, error)
- func (ep TeamEndpoint) Invite(ctx context.Context, r interface{}) (interface{}, error)
- func (ep TeamEndpoint) Kick(ctx context.Context, r interface{}) (interface{}, error)
- func (ep TeamEndpoint) Share(ctx context.Context, r interface{}) (interface{}, error)
- func (ep TeamEndpoint) UserTeams(ctx context.Context, _ interface{}) (interface{}, error)
- type UserEndpoint
- func (ep UserEndpoint) Bookmark(ctx context.Context, r interface{}) (interface{}, error)
- func (ep UserEndpoint) CreatePaper(ctx context.Context, r interface{}) (interface{}, error)
- func (ep UserEndpoint) Login(ctx context.Context, r interface{}) (interface{}, error)
- func (ep UserEndpoint) Me(ctx context.Context, _ interface{}) (interface{}, error)
- func (ep UserEndpoint) SignUp(ctx context.Context, r interface{}) (interface{}, error)
- func (ep UserEndpoint) Token(ctx context.Context, r interface{}) (interface{}, error)
- func (ep UserEndpoint) Upsert(ctx context.Context, r interface{}) (interface{}, error)
- func (ep UserEndpoint) User(ctx context.Context, r interface{}) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BookmarkRequest ¶
type DeleteTeamRequest ¶
type DeleteTeamRequest struct {
TeamID int
}
type EmailPasswordRequest ¶
type InviteRequest ¶
type KickRequest ¶
type PaperCreateRequest ¶
type ShareRequest ¶
type ShareRequest struct {}
type TeamEndpoint ¶
type TeamEndpoint struct {
// contains filtered or unexported fields
}
func NewTeamEndpoint ¶
func NewTeamEndpoint(s *services.TeamService) TeamEndpoint
func (TeamEndpoint) Create ¶
func (ep TeamEndpoint) Create(ctx context.Context, r interface{}) (interface{}, error)
func (TeamEndpoint) Delete ¶
func (ep TeamEndpoint) Delete(ctx context.Context, r interface{}) (interface{}, error)
func (TeamEndpoint) Invite ¶
func (ep TeamEndpoint) Invite(ctx context.Context, r interface{}) (interface{}, error)
func (TeamEndpoint) Kick ¶
func (ep TeamEndpoint) Kick(ctx context.Context, r interface{}) (interface{}, error)
type UserEndpoint ¶
type UserEndpoint struct {
// contains filtered or unexported fields
}
func NewUserEndpoint ¶
func NewUserEndpoint(s *services.UserService) UserEndpoint
func (UserEndpoint) Bookmark ¶
func (ep UserEndpoint) Bookmark(ctx context.Context, r interface{}) (interface{}, error)
func (UserEndpoint) CreatePaper ¶
func (ep UserEndpoint) CreatePaper(ctx context.Context, r interface{}) (interface{}, error)
func (UserEndpoint) Login ¶
func (ep UserEndpoint) Login(ctx context.Context, r interface{}) (interface{}, error)
func (UserEndpoint) Me ¶
func (ep UserEndpoint) Me(ctx context.Context, _ interface{}) (interface{}, error)
func (UserEndpoint) SignUp ¶
func (ep UserEndpoint) SignUp(ctx context.Context, r interface{}) (interface{}, error)
func (UserEndpoint) Token ¶
func (ep UserEndpoint) Token(ctx context.Context, r interface{}) (interface{}, error)
Click to show internal directories.
Click to hide internal directories.