Documentation
¶
Index ¶
- Variables
- type StompConfig
- func (*StompConfig) Descriptor() ([]byte, []int)deprecated
- func (x *StompConfig) GetAddress() string
- func (x *StompConfig) GetDestination() string
- func (x *StompConfig) GetHeartbeatIntervalMs() int32
- func (x *StompConfig) GetPassword() string
- func (x *StompConfig) GetTlsCaCertFile() string
- func (x *StompConfig) GetTlsClientCertFile() string
- func (x *StompConfig) GetTlsClientKeyFile() string
- func (x *StompConfig) GetTlsEnabled() bool
- func (x *StompConfig) GetTlsInsecureSkipVerify() bool
- func (x *StompConfig) GetUsername() string
- func (*StompConfig) ProtoMessage()
- func (x *StompConfig) ProtoReflect() protoreflect.Message
- func (x *StompConfig) Reset()
- func (x *StompConfig) String() string
- func (m *StompConfig) Validate() error
- func (m *StompConfig) ValidateAll() error
- type StompConfigMultiError
- type StompConfigValidationError
- func (e StompConfigValidationError) Cause() error
- func (e StompConfigValidationError) Error() string
- func (e StompConfigValidationError) ErrorName() string
- func (e StompConfigValidationError) Field() string
- func (e StompConfigValidationError) Key() bool
- func (e StompConfigValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_runtime_broker_stomp_v1_stomp_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type StompConfig ¶
type StompConfig struct {
// STOMP broker address (e.g., "localhost:61613").
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// Username for authentication.
Username *string `protobuf:"bytes,2,opt,name=username,proto3,oneof" json:"username,omitempty"`
// Password for authentication.
Password *string `protobuf:"bytes,3,opt,name=password,proto3,oneof" json:"password,omitempty"`
// Default destination for sending or subscribing.
Destination string `protobuf:"bytes,4,opt,name=destination,proto3" json:"destination,omitempty"`
// Whether to enable TLS.
TlsEnabled *bool `protobuf:"varint,5,opt,name=tls_enabled,json=tlsEnabled,proto3,oneof" json:"tls_enabled,omitempty"`
// Path to TLS client certificate file.
TlsClientCertFile *string `protobuf:"bytes,6,opt,name=tls_client_cert_file,json=tlsClientCertFile,proto3,oneof" json:"tls_client_cert_file,omitempty"`
// Path to TLS client key file.
TlsClientKeyFile *string `protobuf:"bytes,7,opt,name=tls_client_key_file,json=tlsClientKeyFile,proto3,oneof" json:"tls_client_key_file,omitempty"`
// Path to TLS CA certificate file.
TlsCaCertFile *string `protobuf:"bytes,8,opt,name=tls_ca_cert_file,json=tlsCaCertFile,proto3,oneof" json:"tls_ca_cert_file,omitempty"`
// Whether to enable TLS insecure skip verify.
TlsInsecureSkipVerify *bool `` /* 135-byte string literal not displayed */
// Heartbeat interval in milliseconds.
HeartbeatIntervalMs *int32 `` /* 128-byte string literal not displayed */
// contains filtered or unexported fields
}
StompConfig defines the configuration for a STOMP message queue.
func (*StompConfig) Descriptor
deprecated
func (*StompConfig) Descriptor() ([]byte, []int)
Deprecated: Use StompConfig.ProtoReflect.Descriptor instead.
func (*StompConfig) GetAddress ¶
func (x *StompConfig) GetAddress() string
func (*StompConfig) GetDestination ¶
func (x *StompConfig) GetDestination() string
func (*StompConfig) GetHeartbeatIntervalMs ¶
func (x *StompConfig) GetHeartbeatIntervalMs() int32
func (*StompConfig) GetPassword ¶
func (x *StompConfig) GetPassword() string
func (*StompConfig) GetTlsCaCertFile ¶
func (x *StompConfig) GetTlsCaCertFile() string
func (*StompConfig) GetTlsClientCertFile ¶
func (x *StompConfig) GetTlsClientCertFile() string
func (*StompConfig) GetTlsClientKeyFile ¶
func (x *StompConfig) GetTlsClientKeyFile() string
func (*StompConfig) GetTlsEnabled ¶
func (x *StompConfig) GetTlsEnabled() bool
func (*StompConfig) GetTlsInsecureSkipVerify ¶
func (x *StompConfig) GetTlsInsecureSkipVerify() bool
func (*StompConfig) GetUsername ¶
func (x *StompConfig) GetUsername() string
func (*StompConfig) ProtoMessage ¶
func (*StompConfig) ProtoMessage()
func (*StompConfig) ProtoReflect ¶
func (x *StompConfig) ProtoReflect() protoreflect.Message
func (*StompConfig) Reset ¶
func (x *StompConfig) Reset()
func (*StompConfig) String ¶
func (x *StompConfig) String() string
func (*StompConfig) Validate ¶
func (m *StompConfig) Validate() error
Validate checks the field values on StompConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StompConfig) ValidateAll ¶
func (m *StompConfig) ValidateAll() error
ValidateAll checks the field values on StompConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StompConfigMultiError, or nil if none found.
type StompConfigMultiError ¶
type StompConfigMultiError []error
StompConfigMultiError is an error wrapping multiple validation errors returned by StompConfig.ValidateAll() if the designated constraints aren't met.
func (StompConfigMultiError) AllErrors ¶
func (m StompConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StompConfigMultiError) Error ¶
func (m StompConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StompConfigValidationError ¶
type StompConfigValidationError struct {
// contains filtered or unexported fields
}
StompConfigValidationError is the validation error returned by StompConfig.Validate if the designated constraints aren't met.
func (StompConfigValidationError) Cause ¶
func (e StompConfigValidationError) Cause() error
Cause function returns cause value.
func (StompConfigValidationError) Error ¶
func (e StompConfigValidationError) Error() string
Error satisfies the builtin error interface
func (StompConfigValidationError) ErrorName ¶
func (e StompConfigValidationError) ErrorName() string
ErrorName returns error name.
func (StompConfigValidationError) Field ¶
func (e StompConfigValidationError) Field() string
Field function returns field value.
func (StompConfigValidationError) Key ¶
func (e StompConfigValidationError) Key() bool
Key function returns key value.
func (StompConfigValidationError) Reason ¶
func (e StompConfigValidationError) Reason() string
Reason function returns reason value.