Documentation ¶
Index ¶
- Constants
- func BuffSize(buffSize int) opt.Options
- func Codec(contentType string, c codec.Codec) opt.Options
- func ConfigOption(opts ...config.Options) opt.Options
- func ConnectTimeout(timeout time.Duration) opt.Options
- func Cors(m *cors.Options) opt.Options
- func Endpoint(e *endpoint.Endpoint) opt.Optionsdeprecated
- func Error(err parcel.ErrorPackager) opt.Options
- func EtcdConfig(e *clientv3.Config) opt.Options
- func Exit(exit ...func()) opt.Options
- func HttpAddress(address string) opt.Options
- func Id(id string) opt.Options
- func KeepaliveInterval(keepaliveInterval time.Duration) opt.Options
- func KeepaliveLifetime(keepaliveLifetime time.Duration) opt.Options
- func Namespace(name string) opt.Options
- func Port(port [2]int) opt.Options
- func Registry(r registry.Registry) opt.Options
- func Release()
- func Signal(signal ...os.Signal) opt.Options
- func TCPAddress(address string) opt.Options
- func Version(version string) opt.Options
- func WatchDog(wrappers ...handler.DogHandler) opt.Options
- func Wrapper(wrappers ...handler.WrapperHandler) opt.Options
- func WssAddress(address, path string) opt.Options
- type Service
Constants ¶
View Source
const SupportPackageIsVersion1 = 1
Variables ¶
This section is empty.
Functions ¶
func EtcdConfig ¶
EtcdConfig setting global etcd config first
func HttpAddress ¶
func TCPAddress ¶
func WssAddress ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.