# 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.
# Type aliases
Option Option.