package
1.5.3
Repository: https://github.com/liangdas/mqant.git
Documentation: pkg.go.dev

# Functions

Address to bind to - host:port.
Advertise The address to advertise for discovery - host:port.
FromContext FromContext.
Id Unique server id Deprecated: 因为命名规范问题函数将废弃,请用ID代替.
ID Unique server id.
Metadata associated with the server.
Name Server name.
NewContext NewContext.
NewServer returns a new server with options passed in.
RegisterInterval specifies the interval on which to re-register.
RegisterTTL Register the service with a TTL.
Registry used for discovery.
Version of the service.
Wait tells the server to wait for requests to finish before exiting.

# Variables

DefaultAddress DefaultAddress.
DefaultID DefaultID.
DefaultName DefaultName.
DefaultVersion DefaultVersion.

# Structs

Options Options.

# Interfaces

Message RPC消息头.
Request Request.
Server Server.
Stream represents a stream established with a client.

# Type aliases

Option Option.