get ready for saving the keys

This commit is contained in:
idk 2018-12-25 01:22:43 -05:00
parent 6260b4fe2b
commit 564bf08803
No known key found for this signature in database
GPG key ID: D75C03B39B5E14E1
3 changed files with 34 additions and 8 deletions

23
conn/conn.go Normal file
View file

@ -0,0 +1,23 @@
package conn
import (
//"os"
"github.com/eyedeekay/sam3"
)
type Conn struct {
*sam3.SAMConn
path string
}
func (c Conn) SaveKeys() {
}
func NewConn(conn *sam3.SAMConn, path string) (*Conn, error) {
return GenConn(conn, path), nil
}
func GenConn(conn *sam3.SAMConn, path string) *Conn {
return &Conn{SAMConn: conn, path: path}
}