api

package
v0.0.0-...-a7e8193 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package api provide the server side Goed API via RPC over local socket. See client/ for the client implementation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Api

type Api struct {
}

func (*Api) Start

func (a *Api) Start()

type GoedRpc

type GoedRpc struct{}

Goed RPC functions holder

func (*GoedRpc) Action

func (r *GoedRpc) Action(args RpcStruct, res *RpcStruct) error

func (*GoedRpc) Edit

func (r *GoedRpc) Edit(args []interface{}, _ *struct{}) error

func (*GoedRpc) Open

func (r *GoedRpc) Open(args []interface{}, _ *struct{}) error

type RpcStruct

type RpcStruct struct {
	Data []string
}

Directories

Path Synopsis
Package client provides client functions to the Goed API server via RPC over a socket.
Package client provides client functions to the Goed API server via RPC over a socket.

Jump to

Keyboard shortcuts

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