ghost

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package ghost implements a barebones, ephemeral Sia host. It is used for testing purposes only, not hosting actual renter data on the Sia network.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Host

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

func New

func New(addr string) (*Host, error)

New returns a new host listening on the specified address.

func (*Host) Close

func (h *Host) Close() error

func (*Host) PublicKey

func (h *Host) PublicKey() hostdb.HostPublicKey

func (*Host) Settings

func (h *Host) Settings() hostdb.HostSettings

Jump to

Keyboard shortcuts

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