Commit graph

17 commits

Author SHA1 Message Date
Sam
8df0347891 fix: EDNS cookies work properly (#98)
All checks were successful
continuous-integration/drone/push Build is passing
also slight refactors :)

closes #96

Co-authored-by: Sam Therapy <sam@samtherapy.net>
Reviewed-on: #98
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-16 23:26:10 +00:00
Sam
9746ae0a6f feat: more API work
Some checks reported errors
continuous-integration/drone/push Build was killed
Reviewed-on: #94
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-15 11:02:43 +00:00
Sam
6fa6b2d1f6 feat: Allow opt pseudosection to be printed (#91)
All checks were successful
continuous-integration/drone/push Build is passing
...when not using the standard print
(JSON/XML/YAML)

This should make making an API for this even easier :)

Reviewed-on: #91
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-10 18:41:25 +00:00
Sam
7edd983175 feat: add preliminary message tinkering (#79)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #79
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-05 00:05:06 +00:00
Sam
068706ae9a (feat)Completions and documentation (#78)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #78
2022-09-04 23:28:47 +00:00
Sam
4cf19ebf78 Another "minor refactor" (#61)
All checks were successful
continuous-integration/drone/push Build is passing
I need to make fewer of these :)
Reviewed-on: #61
2022-08-11 07:25:36 +00:00
Sam
07728cffdb (feat)EDNS (#55)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #55
2022-08-04 01:09:49 +00:00
Sam
80648e08f6 (refactor) Draw the rest of the owl (#38)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #38
2022-07-26 00:32:31 +00:00
Sam
3085c116d6 Fix -x flag (#35)
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-19 15:02:08 +00:00
ed4d74bb96 refactor of query.go (#27)
All checks were successful
continuous-integration/drone/push Build is passing
Includes a fix for #26

Co-authored-by: Sam Therapy <sam@samtherapy.net>
Reviewed-on: #27
Co-authored-by: grumbulon <grumbulon@grumbulon.xyz>
Co-committed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-07-03 20:45:12 +00:00
85a00bffbf Add debug logging (#23)
All checks were successful
continuous-integration/drone/push Build is passing
Close #12

Reviewed-on: #23
Co-authored-by: grumbulon <grumbulon@grumbulon.xyz>
Co-committed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-07-03 17:58:29 +00:00
5035898c13
Add a LICENSE
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-06-29 23:12:30 +02:00
db78235ecd
hehe off-by-one
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-06-23 23:18:54 +02:00
bf06f7a3aa
I am still somehow getting paid to do this
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-23 23:12:48 +02:00
589b13320a Cannot defined things twice in same package (#5)
Co-authored-by: grumbulon <grumbulon@grumbulon.xyz>
Co-committed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-06-23 07:29:06 +00:00
160c89ca1e
I got paid to write this 2022-06-22 22:59:17 +02:00
9b979667d6 Make everything more readable (#2)
1. I made JSON print indented instead of inline
2. I created a util package and moved `ReverseDNS` and `ResolveHTTPS` there
3. I created a new struct called Answers where all variables for the output live now, and adjusted the response struct to have the Answers struct in it. This lets us reuse the struct more instead of having variables floating around, lets us make the response more custom, offers more understandable code reuse, and makes things (I think) more readable.

Aside: you will notice the struct has little json defs. This is because struct values encode as JSON objects and can preserve the output name this way

Most of this just makes expanding on awl easier in the future.

Co-authored-by: grumbulon <grumbulon@dismail.de>
Reviewed-on: #2
Co-authored-by: grumbulon <grumbulon@grumbulon.xyz>
Co-committed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-06-22 11:55:38 +00:00