Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bearbin/go-paste
/ functions
Functions
14 in github.com/bearbin/go-paste
⨍
Functions
14
◇
Types & classes
4
↓ 3 callers
Method
Get
(id string)
service.go:7
↓ 2 callers
Function
convertService
(srv string)
go-paste.go:88
↓ 1 callers
Method
Put
(text, title string)
service.go:6
↓ 1 callers
Method
StripURL
StripURL strips the URL to produce the ID of the paste.
service.go:9
↓ 1 callers
Method
StripURL
StripURL returns the paste ID from a pastebin URL.
pastebin/pastebin.go:72
↓ 1 callers
Method
WrapID
WrapURL wraps an ID to produce a usable URL.
service.go:11
Method
Get
Get returns the text inside the paste identified by ID.
pastebin/pastebin.go:55
Method
Get
Get returns the text inside the paste identified by ID.
fpaste/fpaste.go:63
Method
Put
Put uploads text to Pastebin with optional title returning the ID or an error.
pastebin/pastebin.go:28
Method
Put
Put uploads text to fpaste.org. It returns the ID of the created paste or an error. The title is not used, as the service does not support titles.
fpaste/fpaste.go:32
Method
StripURL
StripURL returns the paste ID from a fpaste URL.
fpaste/fpaste.go:80
Method
WrapID
WrapID returns the pastebin URL from a paste ID.
pastebin/pastebin.go:77
Method
WrapID
WrapID returns the fpaste URL from a paste ID.
fpaste/fpaste.go:85
Function
main
()
go-paste.go:14