sharedutils/sessionUtils/sessionUtils.go

14 lines
269 B
Go
Raw Normal View History

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{}
}