service

package
v0.0.0-...-dde8c00 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2017 License: BSD-2-Clause Imports: 8 Imported by: 0

Documentation

Overview

Package service implements the daemon service for mediating access to the storage backend.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(sockpath, dbpath string)

Serve runs the daemon service. It does not return.

Types

type Service

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

Service provides the daemon RPC service.

func (*Service) AddCmd

func (s *Service) AddCmd(req *api.AddCmdRequest, res *api.AddCmdResponse) error

func (*Service) AddDir

func (s *Service) AddDir(req *api.AddDirRequest, res *api.AddDirResponse) error

func (*Service) Cmd

func (s *Service) Cmd(req *api.CmdRequest, res *api.CmdResponse) error

func (*Service) Cmds

func (s *Service) Cmds(req *api.CmdsRequest, res *api.CmdsResponse) error

func (*Service) DelSharedVar

func (s *Service) DelSharedVar(req *api.DelSharedVarRequest, res *api.DelSharedVarResponse) error

func (*Service) Dirs

func (s *Service) Dirs(req *api.DirsRequest, res *api.DirsResponse) error

func (*Service) NextCmd

func (s *Service) NextCmd(req *api.NextCmdRequest, res *api.NextCmdResponse) error

func (*Service) NextCmdSeq

func (s *Service) NextCmdSeq(req *api.NextCmdSeqRequest, res *api.NextCmdSeqResponse) error

func (*Service) Pid

func (s *Service) Pid(req *api.PidRequest, res *api.PidResponse) error

func (*Service) PrevCmd

func (s *Service) PrevCmd(req *api.PrevCmdRequest, res *api.PrevCmdResponse) error

func (*Service) SetSharedVar

func (s *Service) SetSharedVar(req *api.SetSharedVarRequest, res *api.SetSharedVarResponse) error

func (*Service) SharedVar

func (s *Service) SharedVar(req *api.SharedVarRequest, res *api.SharedVarResponse) error

func (*Service) Version

func (s *Service) Version(req *api.VersionRequest, res *api.VersionResponse) error

Jump to

Keyboard shortcuts

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