Versions in this module Expand all Collapse all v1 v1.4.0 Jan 8, 2023 v1.3.0 Nov 6, 2022 Changes in this version + const PrivateBinAPIVersion + type Client struct + Password string + URL url.URL + Username string + func NewClient(uri *url.URL, username, password string) *Client + func (c *Client) CreatePaste(message *PasteMessage, expire, formatter string, ...) (*CreatePasteResponse, error) + type CreatePasteRequest struct + AData []interface{} + CT string + Meta CreatePasteRequestMeta + V int + type CreatePasteRequestMeta struct + Expire string + type CreatePasteResponse struct + DeleteToken string + ID string + Message string + Status int + URL string + type PasteContent struct + Attachment string + AttachmentName string + Paste string + type PasteData struct + BurnAfterReading bool + Data []byte + Formatter string + OpenDiscussion bool + type PasteMessage struct + Attachment bool + Data []byte + Filename string + type PasteSpec struct + Algorithm string + Compression string + IV string + Iterations int + KeySize int + Mode string + Salt string + TagSize int + func (ps *PasteSpec) SpecArray() []interface{}