Documentation
¶
Index ¶
Constants ¶
View Source
const (
PrivateBinAPIVersion = 2
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) CreatePaste ¶
func (c *Client) CreatePaste( message *PasteMessage, expire, formatter string, openDiscussion, burnAfterReading, gzip bool, password string, ) (*CreatePasteResponse, error)
type CreatePasteRequest ¶
type CreatePasteRequest struct {
V int `json:"v"`
AData []interface{} `json:"adata"`
Meta CreatePasteRequestMeta `json:"meta"`
CT string `json:"ct"`
}
type CreatePasteRequestMeta ¶
type CreatePasteRequestMeta struct {
Expire string `json:"expire"`
}
type CreatePasteResponse ¶
type PasteContent ¶
type PasteMessage ¶
Click to show internal directories.
Click to hide internal directories.