type github.com/prometheus/common/expfmt.Format
10 uses
github.com/prometheus/common/expfmt (current package)
decode.go#L42: func ResponseFormat(h http.Header) Format {
decode.go#L74: func NewDecoder(r io.Reader, format Format) Decoder {
encode.go#L41: func Negotiate(h http.Header) Format {
encode.go#L64: func NewEncoder(w io.Writer, format Format) Encoder {
expfmt.go#L18: type Format string
expfmt.go#L28: FmtUnknown Format = ``
expfmt.go#L29: FmtText Format = `text/plain; version=` + TextVersion + `; charset=utf-8`
expfmt.go#L30: FmtProtoDelim Format = ProtoFmt + ` encoding=delimited`
expfmt.go#L31: FmtProtoText Format = ProtoFmt + ` encoding=text`
expfmt.go#L32: FmtProtoCompact Format = ProtoFmt + ` encoding=compact-text`
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |