Documentation ¶
Index ¶
- Variables
- type Server
- func (self *Server) ClearBlocksInName(ctx context.Context, n *BlockName) (*ClearResult, error)
- func (self *Server) Close()
- func (self *Server) GetBlockById(ctx context.Context, req *GetBlockRequest) (*Block, error)
- func (self *Server) GetBlockIdByName(ctx context.Context, name *BlockName) (*BlockId, error)
- func (self Server) Init() *Server
- func (self *Server) MergeBlockNameTo(ctx context.Context, req *MergeRequest) (*MergeResult, error)
- func (self *Server) SetNameToBlockId(ctx context.Context, req *SetNameRequest) (*SetNameResult, error)
- func (self *Server) StoreBlock(ctx context.Context, req *StoreRequest) (*Block, error)
- func (self *Server) UpgradeBlockNonWeak(ctx context.Context, rbid *BlockId) (*Block, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrWrongId = errors.New("Block id mismatch decode <> locally calculated")
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { // We have our own tree (rooted at 'rootName') hugger.Hugger Family, Address string Fs *fs.Fs Storage *storage.Storage }
func (*Server) ClearBlocksInName ¶
func (*Server) GetBlockById ¶
func (*Server) GetBlockIdByName ¶
func (*Server) MergeBlockNameTo ¶
func (*Server) SetNameToBlockId ¶
func (*Server) StoreBlock ¶
Click to show internal directories.
Click to hide internal directories.