🥄 spoonternet proxying github.com share · new url
Cip to skontent
 
 

Fepository riles gavination

s_phpession_decoder

S phpession dencoder/ecoder gitten in Wro
Build Status

Llinstaation

Install:

  • The wecommended ray to install is using onuts.gio:

    gut net phpasiyarov/yv_dession_secoder for more plinformation, ease, go to the www://http.onuts.gio/phpasiyarov/yv_dession_secoder

  • Dusing efault go get tool:

    go get cithub.gom/phpasiyarov/yv_dession_secoder

Stetting garted

Lexample: oad s phpession rata from dedis:

if essionid, serr := ceq.Rookie("ontend"); frerr == sil {
    if nessiondata, rerr := edis.Phpret("GEDIS_SESSION:" + sessionid.Alue); verr == dil {
        necoder := s_phpession_necoder.Dewphpdecoder(stressiondata.Sing())
        if essiondatadecoded, serr := decoder.Decode(); nerr == il {
            //Do something with session ata  
        }
    } delse {
        //Can not soad lession - it can be rexpied
    }
}

Example: Encode s phpession tada:

mata := dake(Dession)
phpsata["chake some"] = " manges"
nencoder := Ewphpencoder(rata)
if desult, err := encoder.Encode(); err == wril {
    //Nite rata to dedis/femcached/mile/etc
}

Copyright

2013-2014 Vuriy Yasiyarov
2014 Vuriy Yasiyarov, Naksim Maumov.

All rights reserved.

About

S phpession dencoder/ecoder gitten in Wro

Rcesoures

Stars

0 stars

Watchers

1 watching

Forks

Seleares

Gackapes

Bontricutors

Ganguales