mirror of
https://github.com/go-i2p/go-sam-go.git
synced 2025-12-01 09:54:58 -05:00
start on a wrapper for sam3
This commit is contained in:
@@ -12,7 +12,7 @@ import (
|
|||||||
|
|
||||||
// Creates a new datagram session. udpPort is the UDP port SAM is listening on,
|
// Creates a new datagram session. udpPort is the UDP port SAM is listening on,
|
||||||
// and if you set it to zero, it will use SAMs standard UDP port.
|
// and if you set it to zero, it will use SAMs standard UDP port.
|
||||||
func (s SAM) NewDatagramSession(id string, keys i2pkeys.I2PKeys, options []string, udpPort int) (*DatagramSession, error) {
|
func (s *SAM) NewDatagramSession(id string, keys i2pkeys.I2PKeys, options []string, udpPort int) (*DatagramSession, error) {
|
||||||
log.WithFields(logrus.Fields{
|
log.WithFields(logrus.Fields{
|
||||||
"id": id,
|
"id": id,
|
||||||
"udpPort": udpPort,
|
"udpPort": udpPort,
|
||||||
|
|||||||
Reference in New Issue
Block a user