Documentation ¶
Index ¶
Constants ¶
View Source
const VersionBugfix = 1
View Source
const VersionMajor = 0
View Source
const VersionMinor = 1
Variables ¶
View Source
var Version = fmt.Sprintf("%d.%d.%d", VersionMajor, VersionMinor, VersionBugfix)
Functions ¶
This section is empty.
Types ¶
type InputPacketData ¶
type New ¶
type New struct { ServerIP net.IP ServerPort uint16 ClientPrivateKey *rsa.PrivateKey ClientPublicKey *rsa.PublicKey ServerPublicKey *rsa.PublicKey }
func (*New) CreatePacket ¶
func (n *New) CreatePacket(pd InputPacketData) ([]byte, error)
Returns a byte slice that represents the OpenSPA request packet.
Click to show internal directories.
Click to hide internal directories.