Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Part ¶
type Part struct { Header textproto.MIMEHeader Body []byte }
Part defines a `body part`, which refers to an entity inside of a multipart entity. See https://tools.ietf.org/html/rfc2045#section-2.5
type Related ¶
type Related struct { // Required Parameters Type string Boundary string // Optional Parameters Start string StartInfo string // Multipart RootPart Part ChildrenParts []Part Data interface{} }
Related defines a message of MIME type `multipart/related`. See https://tools.ietf.org/html/rfc2387
func (Related) ContentType ¶
ContentType returns the format media-type of multipart entity r
func (Related) Render ¶
func (r Related) Render(w http.ResponseWriter) error
Render implements the callback method of Related type for gin data render
func (Related) WriteContentType ¶
func (r Related) WriteContentType(w http.ResponseWriter)
WriteContentType implements the callback method of Related type for gin data render
Click to show internal directories.
Click to hide internal directories.