Age | Commit message (Collapse) | Author |
|
resolves #2
- fuzz testing
- split out line parsing into a separate file
- changed line type-specific public []byte fields to string accessor methods
- added document parsing test for a stress test doc
- added dependency on stretchr/testify
|
|
Contains:
- gemtext AST (Document and line types)
- Parse from an io.Reader
- ParseLine a []byte
- doc comments on everything
- ParseLine tests for every line type
Still needs tests for Parse & Document.
|
|
|
|
|
|
|
|
...however unlikely gemini over IPv6 may be (hah!)
|
|
|
|
|
|
|
|
|
|
There is a test of Response.Read that is failing and I haven't yet
figured out why.
|
|
|
|
- NewServer doesn't allocate any resources besides the server object
itself. So eg context.WithCancel is delayed until s.Serve().
- Add a demonstration of graceful shutdown on signals to the cgi
example.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
some basics:
- minimal README
- some TODOs
- server and request handler framework
- contribs: file serving, request logging
- server examples
- CI setup
|