Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
*ClientConfig
}
Client stores the client config and implements CloudConfiger
func (*Client) Base64Boundary ¶
Base64Boundary is the base64 boundary that will be used
func (*Client) UseBase64Encoding ¶
UseBase64Encoding indicates if base64 encoding will be used
func (*Client) UseGzipCompression ¶
UseGzipCompression indicates if gzip compression will be used
type ClientConfig ¶
type ClientConfig struct { Base64Boundary string UseGzipCompression bool UseBase64Encoding bool Parts []model.PartReader }
ClientConfig defines the properties needed to encode parts as multi-part mime
func (*ClientConfig) AppendPart ¶
func (c *ClientConfig) AppendPart(content, filename, contentType, mergeType string)
AppendPart appends a new part to the client config
func (*ClientConfig) GetParts ¶
func (c *ClientConfig) GetParts() []model.PartReader
GetParts returns the parts of the client config
Click to show internal directories.
Click to hide internal directories.