Git Product home page Git Product logo

Comments (11)

savsgio avatar savsgio commented on August 22, 2024

Are you using the example of examples folder??

from session.

hiqsociety avatar hiqsociety commented on August 22, 2024

no. i'm using my own program. just by replacing my github repo with /fasthttp/, it will work. otherwise it work wont.

from session.

savsgio avatar savsgio commented on August 22, 2024

Could you share your code?? it's a bit difficult for me to know how is the error

from session.

hiqsociety avatar hiqsociety commented on August 22, 2024

can u try
go get github.com/hiqsociety/session
?

from session.

savsgio avatar savsgio commented on August 22, 2024

??

from session.

savsgio avatar savsgio commented on August 22, 2024

You must implement with a fasthttp server, it's not standalone

from session.

savsgio avatar savsgio commented on August 22, 2024

Have you try the examples? https://github.com/fasthttp/session/tree/master/examples

I tried the examples of your fork and works properly.

from session.

hiqsociety avatar hiqsociety commented on August 22, 2024

i did. how would you have done it after
go get github.com/hiqsociety/session

import (
"github.com/hiqsociety/session"
"github.com/hiqsociety/router"
"github.com/valvaya/fasthttp"
)

?

from session.

savsgio avatar savsgio commented on August 22, 2024

I need to see more code! It's too difficult for me to help you.

Share it with me via email, if you want.

from session.

hiqsociety avatar hiqsociety commented on August 22, 2024

ok i finally got it.
need to change link of /memory/types.go
and /memory/provider.go 's fasthttp to hiqsociety...

from session.

kirillDanshin avatar kirillDanshin commented on August 22, 2024

@hiqsociety if you need support or an answer about your particular case, you need to provide enough information. if your case includes any sources, try to create a minimal reproducing snippet and share it via play.golang.org. We don't need your business information, but we still need something more detailed. If you have any question, please, put it here in form of one self-contained message.

your exact question from the first message is pretty straightforward. you did not imported any working implementation of memory storage. it's not enough to import fasthttp/session, you also need a functional implementation for your storage: https://github.com/fasthttp/session/blob/master/examples/main.go#L7-L15

from session.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.