mirror of
https://github.com/go-i2p/go-i2pcontrol.git
synced 2025-07-13 01:59:43 -04:00
OK little better.
This commit is contained in:
4
auth.go
4
auth.go
@ -16,7 +16,7 @@ func (i *i2pControlStructure) i2pControlPort() string{
|
||||
return i.i2pcontrolport
|
||||
}
|
||||
|
||||
func (i *i2pControlStructure) Echo(s string) i2pControlStructure {
|
||||
func (i *i2pControlStructure) Echo(s string) {
|
||||
fmt.Println(i.jsonstructure.Echo("echo", ""))
|
||||
}
|
||||
|
||||
@ -33,6 +33,6 @@ func NewI2pControl(hostport ...string) *i2pControlStructure {
|
||||
i.i2pcontrolport = hostport[1]
|
||||
}
|
||||
}
|
||||
i.jsonstructure = newJsonStructure()
|
||||
i.jsonstructure = NewJsonStructure()
|
||||
return &i
|
||||
}
|
||||
|
Reference in New Issue
Block a user