Skip to content
Discussion options

You must be logged in to vote

I'm not aware of any go modules. Do any of the above linked project separate the API into a module or library at all or is it just integrated into the CLI? I'm not a Go developer, so I'm really not the one that can give any solid advice on that front.

It is a very simple REST API, though, you don't even need to care about authentication, sessions or any other state. If all you need to do is create pastes, there is a single POST request you need to implement.

What is admittedly more challenging is implementing the cryptography correctly, if you get it right, created pastes decrypt, if not they simply wont and it is always tricky to figure out why, as the resulting payload will in either wa…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@adriens
Comment options

@elrido
Comment options

Answer selected by adriens
@rugk
Comment options

rugk Feb 17, 2025
Maintainer

@adriens
Comment options

@rugk
Comment options

rugk Feb 19, 2025
Maintainer

@gearnode
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
4 participants