shared

package module
v0.0.0-...-a6d8167 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadKeys

func ReadKeys(key_path string, pubkey_path string) (ed25519.PrivateKey, ed25519.PublicKey, error)

Types

type Content

type Content struct {
	Created_at int64  `json:"timestamp"`
	Text       string `json:"text"`
}

type Message

type Message struct {
	Id      string  `json:"id"`
	Content Content `json:"content"`
	Pubkey  string  `json:"pubkey"`
	Sig     string  `json:"sig"`
}

the only struct for a meteora message

Jump to

Keyboard shortcuts

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