grpc_web

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_solo_io_gloo_projects_gloo_api_v1_options_grpc_web_grpc_web_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type GrpcWeb

type GrpcWeb struct {

	// Disable grpc web support.
	Disable bool `protobuf:"varint,1,opt,name=disable,proto3" json:"disable,omitempty"`
	// contains filtered or unexported fields
}

GrpcWeb support is enabled be default. Use this extension to disable it.

func (*GrpcWeb) Clone added in v1.8.24

func (m *GrpcWeb) Clone() proto.Message

Clone function

func (*GrpcWeb) Descriptor deprecated

func (*GrpcWeb) Descriptor() ([]byte, []int)

Deprecated: Use GrpcWeb.ProtoReflect.Descriptor instead.

func (*GrpcWeb) Equal

func (m *GrpcWeb) Equal(that interface{}) bool

Equal function

func (*GrpcWeb) GetDisable

func (x *GrpcWeb) GetDisable() bool

func (*GrpcWeb) Hash deprecated added in v1.2.13

func (m *GrpcWeb) Hash(hasher hash.Hash64) (uint64, error)

Hash function

Deprecated: due to hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions. Prefer the HashUnique function instead.

func (*GrpcWeb) HashUnique added in v1.18.0

func (m *GrpcWeb) HashUnique(hasher hash.Hash64) (uint64, error)

HashUnique function generates a hash of the object that is unique to the object by hashing field name and value pairs. Replaces Hash due to original hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions.

func (*GrpcWeb) ProtoMessage

func (*GrpcWeb) ProtoMessage()

func (*GrpcWeb) ProtoReflect added in v1.6.0

func (x *GrpcWeb) ProtoReflect() protoreflect.Message

func (*GrpcWeb) Reset

func (x *GrpcWeb) Reset()

func (*GrpcWeb) String

func (x *GrpcWeb) String() string

Jump to

Keyboard shortcuts

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