Documentation ¶
Index ¶
- type Client
- type LocalHost
- type RemoteHost
- func (r *RemoteHost) CreateBoard(task *datastruct.Board) (*int64, error)
- func (r *RemoteHost) CreateTask(task *datastruct.Task) (*int64, error)
- func (r *RemoteHost) DeleteTask(id int64) error
- func (r *RemoteHost) GetAllBoards() (*[]datastruct.Board, error)
- func (r *RemoteHost) GetAllTasks() (*[]datastruct.Task, error)
- func (r *RemoteHost) UpdateTask(task *datastruct.Task) (*datastruct.Task, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { GetAllTasks() (*[]datastruct.Task, error) CreateTask(*datastruct.Task) (*int64, error) UpdateTask(*datastruct.Task) (*datastruct.Task, error) DeleteTask(int64) error GetAllBoards() (*[]datastruct.Board, error) CreateBoard(*datastruct.Board) (*int64, error) }
type LocalHost ¶
type LocalHost struct { service.TaskService service.BoardService }
type RemoteHost ¶
type RemoteHost struct {
// contains filtered or unexported fields
}
func (*RemoteHost) CreateBoard ¶
func (r *RemoteHost) CreateBoard(task *datastruct.Board) (*int64, error)
func (*RemoteHost) CreateTask ¶
func (r *RemoteHost) CreateTask(task *datastruct.Task) (*int64, error)
func (*RemoteHost) DeleteTask ¶
func (r *RemoteHost) DeleteTask(id int64) error
func (*RemoteHost) GetAllBoards ¶
func (r *RemoteHost) GetAllBoards() (*[]datastruct.Board, error)
func (*RemoteHost) GetAllTasks ¶
func (r *RemoteHost) GetAllTasks() (*[]datastruct.Task, error)
func (*RemoteHost) UpdateTask ¶
func (r *RemoteHost) UpdateTask(task *datastruct.Task) (*datastruct.Task, error)
Click to show internal directories.
Click to hide internal directories.