spring83

package
v0.0.0-...-c1275cd Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const BoardDateFormat = "<time datetime=\"2006-01-02T15:04:05Z\"></time>\n"

BodyDateFormat is the

View Source
const MaxBoardLen = 2217

MaxBoardLen is the maximum Spring '83 board length in bytes.

Variables

This section is empty.

Functions

func GenerateKey

func GenerateKey(ctx context.Context, seeds io.Reader) ([]byte, error)

func GenerateKeyParallel

func GenerateKeyParallel(ctx context.Context, seeds io.Reader) ([]byte, error)

func Get

func Get(client http.Client, server string, pubkey string) ([]byte, error)

func Put

func Put(server string, keypair ed25519.PrivateKey, tm time.Time, body []byte) error

func ValidPubKey

func ValidPubKey(pub []byte) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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