request

package
v1.8.4 Latest Latest
Warning

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

Go to latest
Published: May 12, 2022 License: MIT Imports: 7 Imported by: 207

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UpdateMode_name = map[int32]string{
		0: "PUT",
		1: "PATCH",
	}
	UpdateMode_value = map[string]int32{
		"PUT":   0,
		"PATCH": 1,
	}
)

Enum value maps for UpdateMode.

View Source
var File_pb_request_request_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type UpdateMode

type UpdateMode int32
const (
	UpdateMode_PUT   UpdateMode = 0
	UpdateMode_PATCH UpdateMode = 1
)

func ParseUpdateModeFromString

func ParseUpdateModeFromString(str string) (UpdateMode, error)

ParseUpdateModeFromString Parse UpdateMode from string

func (UpdateMode) Descriptor

func (UpdateMode) Descriptor() protoreflect.EnumDescriptor

func (UpdateMode) Enum

func (x UpdateMode) Enum() *UpdateMode

func (UpdateMode) EnumDescriptor deprecated

func (UpdateMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use UpdateMode.Descriptor instead.

func (UpdateMode) Equal

func (t UpdateMode) Equal(target UpdateMode) bool

Equal type compare

func (UpdateMode) IsIn

func (t UpdateMode) IsIn(targets ...UpdateMode) bool

IsIn todo

func (UpdateMode) MarshalJSON

func (t UpdateMode) MarshalJSON() ([]byte, error)

MarshalJSON todo

func (UpdateMode) Number

func (x UpdateMode) Number() protoreflect.EnumNumber

func (UpdateMode) String

func (x UpdateMode) String() string

func (UpdateMode) Type

func (*UpdateMode) UnmarshalJSON

func (t *UpdateMode) UnmarshalJSON(b []byte) error

UnmarshalJSON todo

Jump to

Keyboard shortcuts

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