config

package
v1.0.0-alpha.10 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_internal_config_mail_payload_proto protoreflect.FileDescriptor
View Source
var File_internal_config_member_config_proto protoreflect.FileDescriptor
View Source
var File_internal_config_postoffice_proto protoreflect.FileDescriptor
View Source
var File_internal_config_server_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type MailPayload

type MailPayload struct {
	From        string                  `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	Nick        string                  `protobuf:"bytes,2,opt,name=nick,proto3" json:"nick,omitempty"`
	To          []string                `protobuf:"bytes,3,rep,name=to,proto3" json:"to,omitempty"`
	Cc          []string                `protobuf:"bytes,4,rep,name=cc,proto3" json:"cc,omitempty"`
	Bcc         []string                `protobuf:"bytes,5,rep,name=bcc,proto3" json:"bcc,omitempty"`
	Subject     string                  `protobuf:"bytes,6,opt,name=subject,proto3" json:"subject,omitempty"`
	Body        string                  `protobuf:"bytes,7,opt,name=body,proto3" json:"body,omitempty"`
	ContentType string                  `protobuf:"bytes,8,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	Attachment  *MailPayload_Attachment `protobuf:"bytes,9,opt,name=attachment,proto3" json:"attachment,omitempty"`
	// contains filtered or unexported fields
}

func (*MailPayload) Descriptor deprecated

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

Deprecated: Use MailPayload.ProtoReflect.Descriptor instead.

func (*MailPayload) GetAttachment

func (x *MailPayload) GetAttachment() *MailPayload_Attachment

func (*MailPayload) GetBcc

func (x *MailPayload) GetBcc() []string

func (*MailPayload) GetBody

func (x *MailPayload) GetBody() string

func (*MailPayload) GetCc

func (x *MailPayload) GetCc() []string

func (*MailPayload) GetContentType

func (x *MailPayload) GetContentType() string

func (*MailPayload) GetFrom

func (x *MailPayload) GetFrom() string

func (*MailPayload) GetNick

func (x *MailPayload) GetNick() string

func (*MailPayload) GetSubject

func (x *MailPayload) GetSubject() string

func (*MailPayload) GetTo

func (x *MailPayload) GetTo() []string

func (*MailPayload) ProtoMessage

func (*MailPayload) ProtoMessage()

func (*MailPayload) ProtoReflect

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

func (*MailPayload) Reset

func (x *MailPayload) Reset()

func (*MailPayload) String

func (x *MailPayload) String() string

func (*MailPayload) Validate

func (m *MailPayload) Validate() error

Validate checks the field values on MailPayload with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type MailPayloadValidationError

type MailPayloadValidationError struct {
	// contains filtered or unexported fields
}

MailPayloadValidationError is the validation error returned by MailPayload.Validate if the designated constraints aren't met.

func (MailPayloadValidationError) Cause

Cause function returns cause value.

func (MailPayloadValidationError) Error

Error satisfies the builtin error interface

func (MailPayloadValidationError) ErrorName

func (e MailPayloadValidationError) ErrorName() string

ErrorName returns error name.

func (MailPayloadValidationError) Field

Field function returns field value.

func (MailPayloadValidationError) Key

Key function returns key value.

func (MailPayloadValidationError) Reason

Reason function returns reason value.

type MailPayload_Attachment

type MailPayload_Attachment struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ContentType string `protobuf:"bytes,2,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	WithFile    bool   `protobuf:"varint,3,opt,name=with_file,json=withFile,proto3" json:"with_file,omitempty"`
	// contains filtered or unexported fields
}

func (*MailPayload_Attachment) Descriptor deprecated

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

Deprecated: Use MailPayload_Attachment.ProtoReflect.Descriptor instead.

func (*MailPayload_Attachment) GetContentType

func (x *MailPayload_Attachment) GetContentType() string

func (*MailPayload_Attachment) GetName

func (x *MailPayload_Attachment) GetName() string

func (*MailPayload_Attachment) GetWithFile

func (x *MailPayload_Attachment) GetWithFile() bool

func (*MailPayload_Attachment) ProtoMessage

func (*MailPayload_Attachment) ProtoMessage()

func (*MailPayload_Attachment) ProtoReflect

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

func (*MailPayload_Attachment) Reset

func (x *MailPayload_Attachment) Reset()

func (*MailPayload_Attachment) String

func (x *MailPayload_Attachment) String() string

func (*MailPayload_Attachment) Validate

func (m *MailPayload_Attachment) Validate() error

Validate checks the field values on MailPayload_Attachment with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type MailPayload_AttachmentValidationError

type MailPayload_AttachmentValidationError struct {
	// contains filtered or unexported fields
}

MailPayload_AttachmentValidationError is the validation error returned by MailPayload_Attachment.Validate if the designated constraints aren't met.

func (MailPayload_AttachmentValidationError) Cause

Cause function returns cause value.

func (MailPayload_AttachmentValidationError) Error

Error satisfies the builtin error interface

func (MailPayload_AttachmentValidationError) ErrorName

ErrorName returns error name.

func (MailPayload_AttachmentValidationError) Field

Field function returns field value.

func (MailPayload_AttachmentValidationError) Key

Key function returns key value.

func (MailPayload_AttachmentValidationError) Reason

Reason function returns reason value.

type MemberConfig

type MemberConfig struct {
	Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
	// contains filtered or unexported fields
}

func (*MemberConfig) Descriptor deprecated

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

Deprecated: Use MemberConfig.ProtoReflect.Descriptor instead.

func (*MemberConfig) GetServer

func (x *MemberConfig) GetServer() *Server

func (*MemberConfig) ProtoMessage

func (*MemberConfig) ProtoMessage()

func (*MemberConfig) ProtoReflect

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

func (*MemberConfig) Reset

func (x *MemberConfig) Reset()

func (*MemberConfig) String

func (x *MemberConfig) String() string

func (*MemberConfig) Validate

func (m *MemberConfig) Validate() error

Validate checks the field values on MemberConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type MemberConfigValidationError

type MemberConfigValidationError struct {
	// contains filtered or unexported fields
}

MemberConfigValidationError is the validation error returned by MemberConfig.Validate if the designated constraints aren't met.

func (MemberConfigValidationError) Cause

Cause function returns cause value.

func (MemberConfigValidationError) Error

Error satisfies the builtin error interface

func (MemberConfigValidationError) ErrorName

func (e MemberConfigValidationError) ErrorName() string

ErrorName returns error name.

func (MemberConfigValidationError) Field

Field function returns field value.

func (MemberConfigValidationError) Key

Key function returns key value.

func (MemberConfigValidationError) Reason

Reason function returns reason value.

type Postoffice

type Postoffice struct {
	Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
	// contains filtered or unexported fields
}

func (*Postoffice) Descriptor deprecated

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

Deprecated: Use Postoffice.ProtoReflect.Descriptor instead.

func (*Postoffice) GetServer

func (x *Postoffice) GetServer() *Server

func (*Postoffice) ProtoMessage

func (*Postoffice) ProtoMessage()

func (*Postoffice) ProtoReflect

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

func (*Postoffice) Reset

func (x *Postoffice) Reset()

func (*Postoffice) String

func (x *Postoffice) String() string

func (*Postoffice) Validate

func (m *Postoffice) Validate() error

Validate checks the field values on Postoffice with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type PostofficeValidationError

type PostofficeValidationError struct {
	// contains filtered or unexported fields
}

PostofficeValidationError is the validation error returned by Postoffice.Validate if the designated constraints aren't met.

func (PostofficeValidationError) Cause

func (e PostofficeValidationError) Cause() error

Cause function returns cause value.

func (PostofficeValidationError) Error

Error satisfies the builtin error interface

func (PostofficeValidationError) ErrorName

func (e PostofficeValidationError) ErrorName() string

ErrorName returns error name.

func (PostofficeValidationError) Field

Field function returns field value.

func (PostofficeValidationError) Key

Key function returns key value.

func (PostofficeValidationError) Reason

func (e PostofficeValidationError) Reason() string

Reason function returns reason value.

type Server

type Server struct {
	Http *Server_HTTP `protobuf:"bytes,1,opt,name=http,proto3" json:"http,omitempty"`
	Grpc *Server_GRPC `protobuf:"bytes,2,opt,name=grpc,proto3" json:"grpc,omitempty"`
	// contains filtered or unexported fields
}

func (*Server) Descriptor deprecated

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

Deprecated: Use Server.ProtoReflect.Descriptor instead.

func (*Server) GetGrpc

func (x *Server) GetGrpc() *Server_GRPC

func (*Server) GetHttp

func (x *Server) GetHttp() *Server_HTTP

func (*Server) ProtoMessage

func (*Server) ProtoMessage()

func (*Server) ProtoReflect

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

func (*Server) Reset

func (x *Server) Reset()

func (*Server) String

func (x *Server) String() string

func (*Server) Validate

func (m *Server) Validate() error

Validate checks the field values on Server with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ServerValidationError

type ServerValidationError struct {
	// contains filtered or unexported fields
}

ServerValidationError is the validation error returned by Server.Validate if the designated constraints aren't met.

func (ServerValidationError) Cause

func (e ServerValidationError) Cause() error

Cause function returns cause value.

func (ServerValidationError) Error

func (e ServerValidationError) Error() string

Error satisfies the builtin error interface

func (ServerValidationError) ErrorName

func (e ServerValidationError) ErrorName() string

ErrorName returns error name.

func (ServerValidationError) Field

func (e ServerValidationError) Field() string

Field function returns field value.

func (ServerValidationError) Key

func (e ServerValidationError) Key() bool

Key function returns key value.

func (ServerValidationError) Reason

func (e ServerValidationError) Reason() string

Reason function returns reason value.

type Server_GRPC

type Server_GRPC struct {
	Timeout *durationpb.Duration `protobuf:"bytes,1,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*Server_GRPC) Descriptor deprecated

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

Deprecated: Use Server_GRPC.ProtoReflect.Descriptor instead.

func (*Server_GRPC) GetTimeout

func (x *Server_GRPC) GetTimeout() *durationpb.Duration

func (*Server_GRPC) ProtoMessage

func (*Server_GRPC) ProtoMessage()

func (*Server_GRPC) ProtoReflect

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

func (*Server_GRPC) Reset

func (x *Server_GRPC) Reset()

func (*Server_GRPC) String

func (x *Server_GRPC) String() string

func (*Server_GRPC) Validate

func (m *Server_GRPC) Validate() error

Validate checks the field values on Server_GRPC with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type Server_GRPCValidationError

type Server_GRPCValidationError struct {
	// contains filtered or unexported fields
}

Server_GRPCValidationError is the validation error returned by Server_GRPC.Validate if the designated constraints aren't met.

func (Server_GRPCValidationError) Cause

Cause function returns cause value.

func (Server_GRPCValidationError) Error

Error satisfies the builtin error interface

func (Server_GRPCValidationError) ErrorName

func (e Server_GRPCValidationError) ErrorName() string

ErrorName returns error name.

func (Server_GRPCValidationError) Field

Field function returns field value.

func (Server_GRPCValidationError) Key

Key function returns key value.

func (Server_GRPCValidationError) Reason

Reason function returns reason value.

type Server_HTTP

type Server_HTTP struct {
	Timeout *durationpb.Duration `protobuf:"bytes,1,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*Server_HTTP) Descriptor deprecated

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

Deprecated: Use Server_HTTP.ProtoReflect.Descriptor instead.

func (*Server_HTTP) GetTimeout

func (x *Server_HTTP) GetTimeout() *durationpb.Duration

func (*Server_HTTP) ProtoMessage

func (*Server_HTTP) ProtoMessage()

func (*Server_HTTP) ProtoReflect

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

func (*Server_HTTP) Reset

func (x *Server_HTTP) Reset()

func (*Server_HTTP) String

func (x *Server_HTTP) String() string

func (*Server_HTTP) Validate

func (m *Server_HTTP) Validate() error

Validate checks the field values on Server_HTTP with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type Server_HTTPValidationError

type Server_HTTPValidationError struct {
	// contains filtered or unexported fields
}

Server_HTTPValidationError is the validation error returned by Server_HTTP.Validate if the designated constraints aren't met.

func (Server_HTTPValidationError) Cause

Cause function returns cause value.

func (Server_HTTPValidationError) Error

Error satisfies the builtin error interface

func (Server_HTTPValidationError) ErrorName

func (e Server_HTTPValidationError) ErrorName() string

ErrorName returns error name.

func (Server_HTTPValidationError) Field

Field function returns field value.

func (Server_HTTPValidationError) Key

Key function returns key value.

func (Server_HTTPValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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