Documentation
¶
Index ¶
- func RegisterService(opts *Options) error
- type Option
- func WithHeartbeatInervalSec(heartbeatInervalSec int) Option
- func WithMetadata(metadata map[string]string) Option
- func WithNamespace(namespace string) Option
- func WithProtocol(protocol string) Option
- func WithServiceName(serviceName string) Option
- func WithVersion(version string) Option
- func WithWeight(weight float64) Option
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterService ¶
RegisterService register service to polaris
Types ¶
type Option ¶
type Option func(*Options)
func WithHeartbeatInervalSec ¶
func WithMetadata ¶
func WithNamespace ¶
func WithProtocol ¶
func WithServiceName ¶
func WithVersion ¶
func WithWeight ¶
Click to show internal directories.
Click to hide internal directories.