14 lines
269 B
Go
14 lines
269 B
Go
package sessionUtils
|
|
|
|
import "encoding/json"
|
|
|
|
func ConvertServerSessionsToJSON(s Session) []byte {
|
|
s_json, err := json.Marshal(s)
|
|
_ = err //TODO: Check Errors
|
|
return s_json
|
|
}
|
|
|
|
func GetJSSessionInterface(s Session) JSSessionInterface {
|
|
return JSSessionInterface{}
|
|
}
|