purpose

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Share text will share a text post
	// Content: HTML
	ShareText = "share-text"

	// SharePNG shares a PNG image
	// Content: Base64 of image
	SharePNG = "share-image/png"

	// ShareJPG shares a JPG image
	// Content: Base64 of image
	ShareJPG = "share-image/jpg"

	// ShareKey is for sharing keypairs with friends, or with self
	// Content: Marshalled keypair.KeyPair
	ShareKey = "share-key"

	// ActionFollow will follow someone
	// Content: Public key of the person being followed
	ActionFollow = "action-follow"

	// ActionLike will give a person a like
	// Content: ID of the post being liked
	ActionLike = "action-like"

	// ActionName will assign a person a name
	// Content: Text of name
	ActionName = "action-assign/name"

	// ActionProfile will assign a person a profile
	// Content: HTML of profile
	ActionProfile = "action-assign/profile"

	// ActionProfile will assign a person a profile image
	// Content: ID of the image letter
	ActionImage = "action-assign/image"

	// ActionBlock will block a person
	// Content: Public key of the person to block
	ActionBlock = "action-block"

	// ActionErase will erase a persons profile from every carrier
	// Content: Empty
	ActionErase = "action-erase"
)

There are the available purposes for a letter

Functions

func Valid

func Valid(purpose string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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