Comments (11)
Are you using the example of examples folder??
from session.
no. i'm using my own program. just by replacing my github repo with /fasthttp/, it will work. otherwise it work wont.
from session.
Could you share your code?? it's a bit difficult for me to know how is the error
from session.
can u try
go get github.com/hiqsociety/session
?
from session.
??
from session.
You must implement with a fasthttp server, it's not standalone
from session.
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.
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.
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.
ok i finally got it.
need to change link of /memory/types.go
and /memory/provider.go 's fasthttp to hiqsociety...
from session.
@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)
- session id : yrBxVCSGJbrwZtLDfkOQATjIbiYSgPwz HOT 1
- trying to use "github.com/oklog/ulid" HOT 1
- github.com/gomodule/redigo also / instead. HOT 6
- IDEA: Multiple additional providers HOT 1
- setting expiration fails HOT 4
- time.Now() with UnixNano HOT 3
- sameSite param HOT 1
- Tag v2.1.0 HOT 1
- Setting Expiration to -1 causes runtime error HOT 3
- MYSQL drops table on init, on purpose? HOT 1
- int value not stored HOT 4
- IDEA: Set custom session ID HOT 5
- Remove panic HOT 1
- Redis: Multi-instance app session expiration inconsistency (v2) HOT 6
- package github.com/savsgio/gotils/dao not exists HOT 1
- Redis Cluster/Sentinel HOT 4
- Listing Sessions by User Identifier HOT 8
- Session ID generator panic HOT 4
- Widen api a bit HOT 1
- ioor when calling Save HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from session.