Documentation
¶
Index ¶
Constants ¶
View Source
const ( Duplicate = "duplicate" Pow = "pow" Blocked = "blocked" RateLimited = "rate-limited" Invalid = "invalid" Error = "error" )
Variables ¶
View Source
var Examples = [][]byte{ []byte(""), []byte("pow: difficulty 25>=24"), []byte("duplicate: already have this event"), []byte("blocked: you are banned from posting here"), []byte("blocked: please register your pubkey at " + "https://my-expensive-relay.example.com"), []byte("rate-limited: slow down there chief"), []byte("invalid: event creation date is too far off from the current time"), []byte("pow: difficulty 26 is less than 30"), []byte("error: could not connect to the database"), }
Functions ¶
func RandomMessage ¶
func RandomMessage() []byte
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.