Versions in this module Expand all Collapse all v0 v0.1.2 Oct 18, 2019 Changes in this version + type Document struct + Content string + IsUrl bool + Slug string + ViewCount int + type Message struct + Message string + type Server struct + func Dogbin() Server + func Hastebin() Server + func NewServer(server string) Server + func (d Server) Get(slug string) (*Document, error) + func (d Server) Put(slug string, content string) (*UploadResult, error) + type UploadRequest struct + Content string + Slug string + type UploadResult struct + IsUrl bool + Slug string + Url string + type Wrapper struct + Content string + Document *Document + Slug string