Documentation ¶
Overview ¶
Copyright 2016-2019 DutchSec (https://dutchsec.com/)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2016-2019 DutchSec (https://dutchsec.com/)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2016-2019 DutchSec (https://dutchsec.com/)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2016-2019 DutchSec (https://dutchsec.com/)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2016-2019 DutchSec (https://dutchsec.com/)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2016-2019 DutchSec (https://dutchsec.com/)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2016-2019 DutchSec (https://dutchsec.com/)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2016-2019 DutchSec (https://dutchsec.com/)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2016-2019 DutchSec (https://dutchsec.com/)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Constants
- Variables
- func Conn2(c net.Conn) *conn2
- func New(options ...func(listener.Listener) error) (listener.Listener, error)
- func Storage() (*agentListenerStorage, error)
- type Connections
- type Decoder
- type EOF
- type Encoder
- type Handshake
- type HandshakeResponse
- type Hello
- type Ping
- type ReadWriteTCP
- type ReadWriteUDP
Constants ¶
Variables ¶
var ErrTimeout = &errorTimeout{}
Functions ¶
Types ¶
type Connections ¶
type Connections struct {
// contains filtered or unexported fields
}
func (*Connections) Add ¶
func (c *Connections) Add(ac *agentConnection)
func (*Connections) Delete ¶
func (c *Connections) Delete(ac *agentConnection)
func (*Connections) Each ¶
func (c *Connections) Each(fn func(ac *agentConnection))
type Encoder ¶
func (*Encoder) WriteString ¶
type Handshake ¶
type Handshake struct { ProtocolVersion int CommitID string ShortCommitID string Version string Token string }
func (Handshake) MarshalBinary ¶
func (*Handshake) UnmarshalBinary ¶
type HandshakeResponse ¶
func (HandshakeResponse) MarshalBinary ¶
func (h HandshakeResponse) MarshalBinary() ([]byte, error)
func (*HandshakeResponse) UnmarshalBinary ¶
func (h *HandshakeResponse) UnmarshalBinary(data []byte) error
type ReadWriteTCP ¶
func (ReadWriteTCP) MarshalBinary ¶
func (rw ReadWriteTCP) MarshalBinary() ([]byte, error)
func (*ReadWriteTCP) UnmarshalBinary ¶
func (rw *ReadWriteTCP) UnmarshalBinary(data []byte) error
type ReadWriteUDP ¶
func (ReadWriteUDP) MarshalBinary ¶
func (rwu ReadWriteUDP) MarshalBinary() ([]byte, error)
func (*ReadWriteUDP) UnmarshalBinary ¶
func (rwu *ReadWriteUDP) UnmarshalBinary(data []byte) error