options

package
v1.9.9 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional interceptor.MethodHandler method_handler = 74500;
	E_MethodHandler = &file_options_proto_extTypes[0]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var (
	// optional interceptor.ServiceHandler service_handler = 74501;
	E_ServiceHandler = &file_options_proto_extTypes[1]
)

Extension fields to descriptorpb.ServiceOptions.

View Source
var File_options_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type MethodHandler

type MethodHandler struct {
	Authorization      *string `protobuf:"bytes,1,opt,name=authorization,proto3,oneof" json:"authorization,omitempty"`                                     // sso
	AuthorizationProxy *string `protobuf:"bytes,2,opt,name=authorization_proxy,json=authorizationProxy,proto3,oneof" json:"authorization_proxy,omitempty"` // signature
	Whitelisting       *string `protobuf:"bytes,3,opt,name=whitelisting,proto3,oneof" json:"whitelisting,omitempty"`                                       // ip
	Journal            *bool   `protobuf:"varint,4,opt,name=journal,proto3,oneof" json:"journal,omitempty"`                                                // log the req/resp payload
	Ignore             *bool   `protobuf:"varint,5,opt,name=ignore,proto3,oneof" json:"ignore,omitempty"`                                                  // do not log anything
	MetricsAlias       *string `protobuf:"bytes,6,opt,name=metrics_alias,json=metricsAlias,proto3,oneof" json:"metrics_alias,omitempty"`                   // alias for restful path
	// contains filtered or unexported fields
}

func (*MethodHandler) Descriptor deprecated

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

Deprecated: Use MethodHandler.ProtoReflect.Descriptor instead.

func (*MethodHandler) GetAuthorization

func (x *MethodHandler) GetAuthorization() string

func (*MethodHandler) GetAuthorizationProxy

func (x *MethodHandler) GetAuthorizationProxy() string

func (*MethodHandler) GetIgnore added in v1.5.0

func (x *MethodHandler) GetIgnore() bool

func (*MethodHandler) GetJournal

func (x *MethodHandler) GetJournal() bool

func (*MethodHandler) GetMetricsAlias

func (x *MethodHandler) GetMetricsAlias() string

func (*MethodHandler) GetWhitelisting

func (x *MethodHandler) GetWhitelisting() string

func (*MethodHandler) ProtoMessage

func (*MethodHandler) ProtoMessage()

func (*MethodHandler) ProtoReflect

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

func (*MethodHandler) Reset

func (x *MethodHandler) Reset()

func (*MethodHandler) String

func (x *MethodHandler) String() string

type ServiceHandler

type ServiceHandler struct {
	Authorization      *string `protobuf:"bytes,1,opt,name=authorization,proto3,oneof" json:"authorization,omitempty"`                                     // sso
	AuthorizationProxy *string `protobuf:"bytes,2,opt,name=authorization_proxy,json=authorizationProxy,proto3,oneof" json:"authorization_proxy,omitempty"` // signature
	Whitelisting       *string `protobuf:"bytes,3,opt,name=whitelisting,proto3,oneof" json:"whitelisting,omitempty"`                                       // ip
	// contains filtered or unexported fields
}

func (*ServiceHandler) Descriptor deprecated

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

Deprecated: Use ServiceHandler.ProtoReflect.Descriptor instead.

func (*ServiceHandler) GetAuthorization

func (x *ServiceHandler) GetAuthorization() string

func (*ServiceHandler) GetAuthorizationProxy

func (x *ServiceHandler) GetAuthorizationProxy() string

func (*ServiceHandler) GetWhitelisting

func (x *ServiceHandler) GetWhitelisting() string

func (*ServiceHandler) ProtoMessage

func (*ServiceHandler) ProtoMessage()

func (*ServiceHandler) ProtoReflect

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

func (*ServiceHandler) Reset

func (x *ServiceHandler) Reset()

func (*ServiceHandler) String

func (x *ServiceHandler) String() string

Jump to

Keyboard shortcuts

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