. ,-. ,-. . . ,-. ,-. ,-. ,-. ,-. ,-,-. ,-,-. . . ,-. . |- . .
/| `-'
A Go server implementation for the Gemini protocol.
git clone https://source.community/ckaznocha/gemini.git
=> โค๏ธ Likes (1)
=> ๐ Branches
=> ๐ Log
=> ๐ณ File Tree
=> โ /
=> View raw contents of /errors.go (main)
โโโโโฎ 1โ package gemini 2โ 3โ import ( 4โ "errors" 5โ "fmt" 6โ ) 7โ 8โ // Sentinel errors. 9โ var ( 10โ // Listener sentinels. 11โ ErrClosingListeners = errors.New("error closing listeners") 12โ ErrClosingListener = errors.New("error closing listener") 13โ ErrOpeningConnection = errors.New("error opening connection") 14โ 15โ // Request sentinels. 16โ ErrMaxRequestLengthExceeded = fmt.Errorf( 17โ "the request length exceeded the max size of %d bytes", 18โ maxRequestLength, 19โ ) 20โ ErrRequestRead = errors.New("unable to read request") 21โ 22โ // Server sentinels. 23โ ErrServerShutdown = errors.New("server shutdown") 24โ ErrStartingServer = errors.New("unable to start server") 25โ ErrServing = errors.New("unable to serve requests") 26โ ErrIO = errors.New("IO error") 27โ 28โ // URL sentinels. 29โ ErrMalformedURI = errors.New("malformed URI") 30โ ) โโโโโฏ
ยท ยท ยท
=> ๐ก Home | ๐ FAQs | ๐ต๏ธ Privacy Policy | ๐ค Terms & Conditions | ๐ Official Gemlog | info@source.community
ยฉ 2025 source.community
text/gemini; charset=utf-8; lang=en
This content has been proxied by September (3851b).