store

package
v0.0.0-...-e937f8d Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2014 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config *config.Config

Functions

func AddPendingName

func AddPendingName(name string, shortHash string, blockCount int64)

func CreateLeet

func CreateLeet(body string)

func Follow

func Follow(name string)

func Friends

func Friends() (friends []interface{}, err error)

func ImportLeet

func ImportLeet(leet map[string]interface{})

func Leets

func Leets() (leets []interface{}, err error)

func LoadFixture

func LoadFixture(path string) []byte

func MarkRegistered

func MarkRegistered(name string)

func Reset

func Reset()

Types

type Leet

type Leet struct {
	Body      string
	Signature string
	From      string
}

type LeetList

type LeetList struct {
	Collection []Leet
}

type Name

type Name struct {
	Name       string
	ShortHash  string
	BlockCount int64
}

func PendingNames

func PendingNames() (names []Name, err error)

Jump to

Keyboard shortcuts

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