Documentation ¶
Index ¶
- Variables
- type Cors
- func (*Cors) Descriptor() ([]byte, []int)
- func (m *Cors) Marshal() (dAtA []byte, err error)
- func (m *Cors) MarshalTo(dAtA []byte) (int, error)
- func (m *Cors) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Cors) ProtoMessage()
- func (m *Cors) Reset()
- func (m *Cors) Size() (n int)
- func (m *Cors) String() string
- func (m *Cors) Unmarshal(dAtA []byte) error
- func (m *Cors) Validate() error
- func (m *Cors) XXX_DiscardUnknown()
- func (m *Cors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Cors) XXX_Merge(src proto.Message)
- func (m *Cors) XXX_Size() int
- func (m *Cors) XXX_Unmarshal(b []byte) error
- type CorsValidationError
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Cors ¶
type Cors struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Cors filter config.
func (*Cors) Descriptor ¶
func (*Cors) ProtoMessage ¶
func (*Cors) ProtoMessage()
func (*Cors) Validate ¶
Validate checks the field values on Cors with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Cors) XXX_DiscardUnknown ¶
func (m *Cors) XXX_DiscardUnknown()
func (*Cors) XXX_Unmarshal ¶
type CorsValidationError ¶
type CorsValidationError struct {
// contains filtered or unexported fields
}
CorsValidationError is the validation error returned by Cors.Validate if the designated constraints aren't met.
func (CorsValidationError) Cause ¶
func (e CorsValidationError) Cause() error
Cause function returns cause value.
func (CorsValidationError) Error ¶
func (e CorsValidationError) Error() string
Error satisfies the builtin error interface
func (CorsValidationError) ErrorName ¶
func (e CorsValidationError) ErrorName() string
ErrorName returns error name.
func (CorsValidationError) Field ¶
func (e CorsValidationError) Field() string
Field function returns field value.
func (CorsValidationError) Key ¶
func (e CorsValidationError) Key() bool
Key function returns key value.
func (CorsValidationError) Reason ¶
func (e CorsValidationError) Reason() string
Reason function returns reason value.
Click to show internal directories.
Click to hide internal directories.