1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-01-05 16:55:27 -05:00

fix lint warnings

This commit is contained in:
Darien Raymond
2018-06-04 14:29:43 +02:00
parent 54e2244c5a
commit b01180b913
2 changed files with 4 additions and 2 deletions

View File

@@ -104,6 +104,7 @@ func NewAlwaysOnInboundHandler(ctx context.Context, tag string, receiverConfig *
return h, nil
}
// Start implements common.Runnable.
func (h *AlwaysOnInboundHandler) Start() error {
for _, worker := range h.workers {
if err := worker.Start(); err != nil {
@@ -113,6 +114,7 @@ func (h *AlwaysOnInboundHandler) Start() error {
return nil
}
// Close implements common.Closable.
func (h *AlwaysOnInboundHandler) Close() error {
var errors []interface{}
for _, worker := range h.workers {