Documentation
¶
Index ¶
- Variables
- func NewServiceTree(abs tree.Path, ...) *serviceTree
- type CallerInfo
- type Manager
- func (man *Manager) CallService(entry string, cap uuid.UUID, data []byte, caller process.Process) ([]byte, error)
- func (man *Manager) Init(procMan *process.Manager, callRemote callRemote, callBroadcast callBroadcast, ...) error
- func (man *Manager) LockAction(path string, host uuid.UUID, action bool) bool
- func (man *Manager) Sync(info *tree.Transfer) (*tree.Transfer, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrExist = errors.New("service/cap exist")
View Source
var ErrNotExist = errors.New("service/cap not exist")
View Source
var ErrNotService = errors.New("not a service")
View Source
var ErrOccupied = errors.New("occupied")
View Source
var ErrUnknownProcess = errors.New("unknown process")
View Source
var ErrWrongCaller = errors.New("wrong caller")
Functions ¶
Types ¶
type CallerInfo ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) CallService ¶
func (*Manager) LockAction ¶
Click to show internal directories.
Click to hide internal directories.