package
Version:
v0.37.2
Opens a new window with list of versions in this module.
Published: Aug 22, 2020
License: MIT
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Base64 encodes a byte slice to a base64 string.
GenRandomBytes generates crypto-secure random bytes.
StripANSI strips ansi out of a string.
type PasteContent struct {
Paste string `json:"paste"`
}
PasteContent .
type PasteRequest struct {
V int `json:"v"`
AData []interface{} `json:"adata"`
Meta PasteRequestMeta `json:"meta"`
CT string `json:"ct"`
}
PasteRequest .
type PasteRequestMeta struct {
Expire string `json:"expire"`
}
PasteRequestMeta .
type PasteResponse struct {
Status int `json:"status"`
ID string `json:"id"`
URL string `json:"url"`
DeleteToken string `json:"deletetoken"`
}
PasteResponse .
PasteSpec .
func (spec *PasteSpec) SpecArray() []interface{}
SpecArray .
Source Files
¶
Click to show internal directories.
Click to hide internal directories.