responsecontenttype

package
v8.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2023 License: Apache-2.0 Imports: 1 Imported by: 5

Documentation

Overview

Package responsecontenttype

Index

Constants

This section is empty.

Variables

View Source
var (
	Json = ResponseContentType{"json"}

	Yaml = ResponseContentType{"yaml"}

	Text = ResponseContentType{"text"}
)

Functions

This section is empty.

Types

type ResponseContentType

type ResponseContentType struct {
	Name string
}

https://github.com/elastic/elasticsearch-specification/blob/a4f7b5a7f95dad95712a6bbce449241cbb84698d/specification/watcher/_types/Input.ts#L106-L110

func (ResponseContentType) MarshalText

func (r ResponseContentType) MarshalText() (text []byte, err error)

func (ResponseContentType) String

func (r ResponseContentType) String() string

func (*ResponseContentType) UnmarshalText

func (r *ResponseContentType) UnmarshalText(text []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL