Documentation ¶
Index ¶
- Variables
- type Gate
- type Option
- func WithContext(ctx context.Context) Option
- func WithID(id string) Option
- func WithLocator(locator locate.Locator) Option
- func WithName(name string) Option
- func WithRegistry(r registry.Registry) Option
- func WithServer(server network.Server) Option
- func WithTimeout(timeout time.Duration) Option
- func WithTransporter(transporter transport.Transporter) Option
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotFoundUserSource = errors.New("not found user source")
)
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(o *options)
func WithTransporter ¶
func WithTransporter(transporter transport.Transporter) Option
WithTransporter 设置消息传输器
Click to show internal directories.
Click to hide internal directories.