server

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TasksPullCmd = "Handler.OnTasksPull"

Functions

func Start

func Start(client mstodo.ClientFacade, port *int32) error

Start starts the server to handle commands from the CLI.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func (*Handler) OnTasksPull

func (h *Handler) OnTasksPull(req Request, res *Response) error

type Request

type Request struct {
	ListID string
}

type Response

type Response struct {
	Message string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL