extensions

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 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 FieldBehavior

type FieldBehavior struct {
	FieldBehavior string `json:"field_behavior"`
}

An indicator of the behavior of a given field.

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