state

package
v0.0.0-...-4d78089 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2019 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Overview

Package state contains a thread safe state struct that stores information about the edged

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type State

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

State is a thread safe struct for keeping information about the edged

func New

func New(p2pHandler *handler.P2PHandler) *State

New returns a new state struct

func (*State) GetAsset

func (s *State) GetAsset(website, asset string) []byte

func (*State) Info

func (s *State) Info() string

Jump to

Keyboard shortcuts

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