a geicko-2 based round robin ranking system designed to test c++ battleship submissions battleship.dunkirk.sh
at main 805 B view raw
1//go:build !linux && !darwin && !freebsd && !dragonfly && !netbsd && !openbsd && !solaris && !windows 2// +build !linux,!darwin,!freebsd,!dragonfly,!netbsd,!openbsd,!solaris,!windows 3 4package ssh 5 6import ( 7 "os/exec" 8 9 "golang.org/x/crypto/ssh" 10) 11 12type impl struct{} 13 14func (i *impl) IsZero() bool { 15 return true 16} 17 18func (i *impl) Name() string { 19 return "" 20} 21 22func (i *impl) Read(p []byte) (n int, err error) { 23 return 0, ErrUnsupported 24} 25 26func (i *impl) Write(p []byte) (n int, err error) { 27 return 0, ErrUnsupported 28} 29 30func (i *impl) Resize(w int, h int) error { 31 return ErrUnsupported 32} 33 34func (i *impl) Close() error { 35 return nil 36} 37 38func (*impl) start(*exec.Cmd) error { 39 return ErrUnsupported 40} 41 42func newPty(Context, string, Window, ssh.TerminalModes) (impl, error) { 43 return impl{}, ErrUnsupported 44}