kudurru

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

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

Go to latest
Published: May 10, 2020 License: MIT Imports: 20 Imported by: 0

README

Kudurru

Kudurrus were stone tablets that the ancient Babylonians used to record land grants, contracts, ownership and even math proofs. This project is an attempt to build something similiar by recording twitter posts onto the blockchain. The moment a user posts a tweet it is effectively "written in stone".

Documentation

Index

Constants

View Source
const StartupMessage = "Kudurru, written in Stone 🗿"

StartupMessage when the server fires

Variables

This section is empty.

Functions

func HandleHomeTimeline

func HandleHomeTimeline(w http.ResponseWriter, r *http.Request)

HandleHomeTimeline fetches the authenticated home time line

func HandleRoot

func HandleRoot(w http.ResponseWriter, r *http.Request)

HandleRoot serves the / path

func HandleUserTimeline

func HandleUserTimeline(w http.ResponseWriter, r *http.Request)

HandleUserTimeline fetches the time line of the provided user

func New

func New() *http.Server

New creates the server to connect with Twitter

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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