server

package
v0.0.0-...-bb586a6 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pubkey

type Pubkey struct {
}

type Server

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

func NewServer

func NewServer() (*Server, error)

func (*Server) ContractMetadata

func (*Server) ExtendContract

func (*Server) KnownPeers

func (s *Server) KnownPeers(ctx context.Context, req *fpb.KnownPeersRequest) (*fpb.KnownPeersResponse, error)

func (*Server) MakeContract

func (s *Server) MakeContract(ctx context.Context, req *fpb.MakeContractRequest) (*fpb.MakeContractResponse, error)

func (*Server) ReadSector

func (s *Server) ReadSector(ctx context.Context, req *fpb.ReadSectorRequest) (*fpb.ReadSectorResponse, error)

func (*Server) Reorder

func (s *Server) Reorder(ctx context.Context, req *fpb.ReorderRequest) (*fpb.ReorderResponse, error)

func (*Server) Shrink

func (s *Server) Shrink(ctx context.Context, req *fpb.ShrinkRequest) (*fpb.ShrinkResponse, error)

Jump to

Keyboard shortcuts

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