Documentation ¶
Overview ¶
Package service implements the daemon service for mediating access to the storage backend.
Index ¶
- func Serve(sockpath, dbpath string)
- type Service
- func (s *Service) AddCmd(req *api.AddCmdRequest, res *api.AddCmdResponse) error
- func (s *Service) AddDir(req *api.AddDirRequest, res *api.AddDirResponse) error
- func (s *Service) Cmd(req *api.CmdRequest, res *api.CmdResponse) error
- func (s *Service) Cmds(req *api.CmdsRequest, res *api.CmdsResponse) error
- func (s *Service) DelSharedVar(req *api.DelSharedVarRequest, res *api.DelSharedVarResponse) error
- func (s *Service) Dirs(req *api.DirsRequest, res *api.DirsResponse) error
- func (s *Service) NextCmd(req *api.NextCmdRequest, res *api.NextCmdResponse) error
- func (s *Service) NextCmdSeq(req *api.NextCmdSeqRequest, res *api.NextCmdSeqResponse) error
- func (s *Service) Pid(req *api.PidRequest, res *api.PidResponse) error
- func (s *Service) PrevCmd(req *api.PrevCmdRequest, res *api.PrevCmdResponse) error
- func (s *Service) SetSharedVar(req *api.SetSharedVarRequest, res *api.SetSharedVarResponse) error
- func (s *Service) SharedVar(req *api.SharedVarRequest, res *api.SharedVarResponse) error
- func (s *Service) Version(req *api.VersionRequest, res *api.VersionResponse) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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
Click to show internal directories.
Click to hide internal directories.