extensions

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPExtension

type HTTPExtension struct {
	Rules []HTTPRule `json:"rules"`
}

HTTPExtension contains the rules set by the (google.api.http) method option extension.

type HTTPRule

type HTTPRule struct {
	Method  string `json:"method"`
	Pattern string `json:"pattern"`
	Body    string `json:"body,omitempty"`
}

HTTPRule represents a single HTTP rule from the (google.api.http) method option extension.

Jump to

Keyboard shortcuts

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