client

package module
v0.0.0-...-f87157e Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2019 License: GPL-3.0 Imports: 6 Imported by: 1 module, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	Message string `json:"message"`
	Code    int    `json:"code"`
}

Error represents project manager errors

func (Error) Error

func (e Error) Error() string

type TMService

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

TMService is way for connecting with tm service

func New

func New(url string) TMService

New creates new instance of PM but connection establishment does not happen here.

func (TMService) Delete

func (tm TMService) Delete(name string) (model.Thing, error)

Delete deletes thing by name

func (TMService) List

func (tm TMService) List() ([]model.Thing, error)

List lists existing things

func (TMService) Show

func (tm TMService) Show(name string) (model.Thing, error)

Show shows thing information by name

Jump to

Keyboard shortcuts

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