github.com/machinefi/w3bstream@v1.6.5-rc9.0.20240426031326-b8c7c4876e72/pkg/depends/kit/httptransport/httpx/httpx_mines__generated.go (about) 1 // This is a generated source file. DO NOT EDIT 2 // Source: httpx/httpx_mines__generated.go 3 4 package httpx 5 6 import "bytes" 7 8 func NewApplicationOgg() *ApplicationOgg { return &ApplicationOgg{} } 9 10 type ApplicationOgg struct{ bytes.Buffer } 11 12 func (ApplicationOgg) ContentType() string { return "application/ogg" } 13 14 func NewApplicationProtobuf() *ApplicationProtobuf { return &ApplicationProtobuf{} } 15 16 type ApplicationProtobuf struct{ bytes.Buffer } 17 18 func (ApplicationProtobuf) ContentType() string { return "application/x-protobuf" } 19 20 func NewAudioMidi() *AudioMidi { return &AudioMidi{} } 21 22 type AudioMidi struct{ bytes.Buffer } 23 24 func (AudioMidi) ContentType() string { return "audio/midi" } 25 26 func NewAudioMp3() *AudioMp3 { return &AudioMp3{} } 27 28 type AudioMp3 struct{ bytes.Buffer } 29 30 func (AudioMp3) ContentType() string { return "audio/mpeg" } 31 32 func NewAudioOgg() *AudioOgg { return &AudioOgg{} } 33 34 type AudioOgg struct{ bytes.Buffer } 35 36 func (AudioOgg) ContentType() string { return "audio/ogg" } 37 38 func NewAudioWave() *AudioWave { return &AudioWave{} } 39 40 type AudioWave struct{ bytes.Buffer } 41 42 func (AudioWave) ContentType() string { return "audio/wav" } 43 44 func NewAudioWebm() *AudioWebm { return &AudioWebm{} } 45 46 type AudioWebm struct{ bytes.Buffer } 47 48 func (AudioWebm) ContentType() string { return "audio/webm" } 49 50 func NewCSS() *CSS { return &CSS{} } 51 52 type CSS struct{ bytes.Buffer } 53 54 func (CSS) ContentType() string { return "text/css" } 55 56 func NewHTML() *HTML { return &HTML{} } 57 58 type HTML struct{ bytes.Buffer } 59 60 func (HTML) ContentType() string { return "text/html" } 61 62 func NewImageBmp() *ImageBmp { return &ImageBmp{} } 63 64 type ImageBmp struct{ bytes.Buffer } 65 66 func (ImageBmp) ContentType() string { return "image/bmp" } 67 68 func NewImageGIF() *ImageGIF { return &ImageGIF{} } 69 70 type ImageGIF struct{ bytes.Buffer } 71 72 func (ImageGIF) ContentType() string { return "image/gif" } 73 74 func NewImageJPEG() *ImageJPEG { return &ImageJPEG{} } 75 76 type ImageJPEG struct{ bytes.Buffer } 77 78 func (ImageJPEG) ContentType() string { return "image/jpeg" } 79 80 func NewImagePNG() *ImagePNG { return &ImagePNG{} } 81 82 type ImagePNG struct{ bytes.Buffer } 83 84 func (ImagePNG) ContentType() string { return "image/png" } 85 86 func NewImageSVG() *ImageSVG { return &ImageSVG{} } 87 88 type ImageSVG struct{ bytes.Buffer } 89 90 func (ImageSVG) ContentType() string { return "image/svg+xml" } 91 92 func NewImageWebp() *ImageWebp { return &ImageWebp{} } 93 94 type ImageWebp struct{ bytes.Buffer } 95 96 func (ImageWebp) ContentType() string { return "image/webp" } 97 98 func NewPlain() *Plain { return &Plain{} } 99 100 type Plain struct{ bytes.Buffer } 101 102 func (Plain) ContentType() string { return "text/plain" } 103 104 func NewVideoOgg() *VideoOgg { return &VideoOgg{} } 105 106 type VideoOgg struct{ bytes.Buffer } 107 108 func (VideoOgg) ContentType() string { return "video/ogg" } 109 110 func NewVideoWebm() *VideoWebm { return &VideoWebm{} } 111 112 type VideoWebm struct{ bytes.Buffer } 113 114 func (VideoWebm) ContentType() string { return "video/webm" }