Directories
¶
| Path | Synopsis |
|---|---|
|
package for access control
|
package for access control |
|
https://github.com/etcd-io/etcd/blob/master/pkg/fileutil Copyright 2015 The etcd Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
|
https://github.com/etcd-io/etcd/blob/master/pkg/fileutil Copyright 2015 The etcd Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. |
|
message
|
|
|
quit
进程退出消息,用于服务优雅退出,通知一些模块做清理工作 Closer接口的Close方法应该是同步清理的逻辑 func (s *SomeService) worker() { for { select { //...other case // quit case <-s.quit // ....
|
进程退出消息,用于服务优雅退出,通知一些模块做清理工作 Closer接口的Close方法应该是同步清理的逻辑 func (s *SomeService) worker() { for { select { //...other case // quit case <-s.quit // .... |
Click to show internal directories.
Click to hide internal directories.