endregion region Full
(
readyChannel chan struct{},
shutdownChannel chan struct{},
passwords map[string][]byte,
pubKeys map[string]string,
)
| 615 | //region Full |
| 616 | |
| 617 | func newFullHandler( |
| 618 | readyChannel chan struct{}, |
| 619 | shutdownChannel chan struct{}, |
| 620 | passwords map[string][]byte, |
| 621 | pubKeys map[string]string, |
| 622 | ) sshserver.Handler { |
| 623 | ctx, cancelFunc := context.WithCancel(context.Background()) |
| 624 | return &fullHandler{ |
| 625 | ctx: ctx, |
| 626 | cancelFunc: cancelFunc, |
| 627 | ready: readyChannel, |
| 628 | shutdownDone: shutdownChannel, |
| 629 | passwords: passwords, |
| 630 | pubKeys: pubKeys, |
| 631 | } |
| 632 | } |
| 633 | |
| 634 | //region Handler |
| 635 |