sharedutils/sessionUtils/sessionUtils.go

12 lines
183 B
Go
Raw Permalink Normal View History

package sessionUtils
2022-10-28 15:23:14 +00:00
import (
"encoding/json"
)
func ConvertServerSessionsToJSON(s Session) []byte {
s_json, err := json.Marshal(s)
_ = err //TODO: Check Errors
return s_json
}