Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Sep 12 19:36
    majidbigdeli edited #1360
  • Sep 12 18:45
    majidbigdeli review_requested #1360
  • Sep 12 18:45
    majidbigdeli opened #1360
  • Sep 12 05:54

    kataras on master

    [FIX]Icon image shows anomaly Merge pull request #1359 from l… (compare)

  • Sep 12 05:54
    kataras closed #1359
  • Sep 11 10:01
    liweijie0812 review_requested #1359
  • Sep 11 10:01
    liweijie0812 opened #1359
  • Sep 07 02:57

    kataras on master

    fix https://github.com/kataras/… (compare)

  • Sep 07 02:48

    kataras on master

    add korean README fix typo Merge pull request #1356 from j… (compare)

  • Sep 07 02:48
    kataras closed #1356
  • Sep 06 14:08
    jinil-ha opened #1356
  • Sep 06 14:08
    jinil-ha review_requested #1356
  • Sep 01 20:49

    kataras on master

    minor (compare)

  • Aug 27 18:13

    kataras on master

    Update issue templates (compare)

  • Aug 26 13:43

    kataras on master

    Add status code 103 Early Hints… (compare)

  • Aug 22 11:47

    kataras on master

    fix radix get keys issue descri… (compare)

  • Aug 21 15:48

    kataras on master

    Readme and History Spanish Tran… Readme and History Spanish Tran… Spanish translation of README.… (compare)

  • Aug 21 15:48
    kataras closed #1344
  • Aug 21 15:07
    1hitOVER review_requested #1344
  • Aug 21 15:07
    1hitOVER opened #1344
Gerasimos (Makis) Maropoulos
@kataras
This is a known javascript issue @Raikan10, it's not Iris or golang issue, the same exists on Net Core and Nodejs.
@hrudwik Glad to hear this, if you need anything we are here.
@Raikan10 see for example the Gopher.js issue list, there are tons of issues regrading the problem you are describing. I can help you ofcourse, but first I need to know how you are creating the javascript bytearray and why you need this to be in a form field of []byte, check your private messages, we will solve it and post the solution here.
Gerasimos (Makis) Maropoulos
@kataras
@all Iris web framework version 11.2 released
Majid Bigdeli
@majidbigdeli
amazing
Majid Bigdeli
@majidbigdeli

@all Iris web framework version 11.2 released

@kataras Thank you so much.

code4jorg
@code4jorg
# test/vendor/github.com/kataras/iris/view
vendor/github.com/kataras/iris/view/django.go:194:27: pongo2.RegisterTag(tagName, fn) used as value
vendor/github.com/kataras/iris/view/django.go:222:19: undefined: pongo2.NewLocalFileSystemLoader
vendor/github.com/kataras/iris/view/django.go:227:22: too many arguments in call to pongo2.NewSet
vendor/github.com/kataras/iris/view/django.go:280:22: too many arguments in call to pongo2.NewSet
have (string, *tDjangoAssetLoader)
want (string)
vendor/github.com/kataras/iris/view/jet.go:84:7: s.Set.Delims undefined (type *jet.Set has no field or method Delims)
exit status 2
Process exiting with code: 1
请教demo无法运行的原因
shanyujie
@shanyujie
屏幕快照 2019-07-28 下午11.34.20.png
when i use "go get -u -v github.com/kataras/iris@v11.2.2",this happened.
how to solve the problem,thanks.
then I use "go get -u -v github.com/kataras/iris" to install the iris
Connor Wright
@cxnky
how well does this perform under high load? (e.g. 10k-20k req/s)
shanyujie
@shanyujie
2.jpg
1.jpg
@kataras when I use the vscode to code ,the vscode can't find the new version iris to import.how to solve or am I using go mod in the wrong way?thanks for your work.
Gerasimos (Makis) Maropoulos
@kataras
@cxnky There are benchmarks online, 10k-20k req/s is an easy task for Iris (always depending on the backed code of course). Check out our wiki: https://github.com/kataras/iris/wiki/Benchmarks and benchmarks articles at: https://github.com/kataras/iris/wiki/Publications.
@majidbigdeli I thank you for the support on Iris and on Neffos with your feature requests and more!!!

@shanyujie I've just tried to install iris v11.2.2 on a clean machine and it worked perfectly. So I assume it has to do with your local go cache, please try to clear your go cache: $GOPATH/src/pkg/mod.

About your second question, I don't use that plugin, I use the vscode-go plugin and it works perffectly, just import "github.com/kataras/iris" and type iris. and you will see the autocomplete definitions. You may want to post this issue on the vscode plugin you're using.

@code4jorg Please open an issue and don't post big code text here, try add a require statement of github.com/kataras/iris v11.2.2 in your go.mod file and then go build.
shanyujie
@shanyujie
@kataras thanks for you work. I clean the cache and it works properly. Good job.
Gerasimos (Makis) Maropoulos
@kataras
Thanks for your nice words @shanyujie, of course, you are welcome anytime!
kastmgnru
@kastmgnru
@kataras Thanks for updating the framework!
Could you add more examples for the new web socket? In particular, I now don’t understand how I can send a message to all clients or only one by its identifier.
Old code example: https://pastebin.com/C2WuUgpk
shanyujie
@shanyujie
image.png
@kataras
Gerasimos (Makis) Maropoulos
@kataras
@shanyujie I don't know what it's, it seems like a goproxy issue and not a github one

@kastmgnru we have ton of examples at: https://github.com/kataras/iris/tree/master/_examples/websocket , https://github.com/kataras/neffos/tree/master/_examples and https://github.com/kataras/neffos.js/tree/master/_examples. And also the wiki page of Broadcast: https://github.com/kataras/neffos/wiki/Broadcast.

To send to all clients:

server.Broadcast(nil, neffos.Message{Namespace: "...", Event: "...", Body: yourMessage})

To send to all clients except one ID:

server.Broadcast(conn, neffos.Message{Namespace: "...", Event: "...", Body: yourMessage})

OR

server.Broadcast(neffos.Except("connID"), neffos.Message{Namespace: "...", Event: "...", Body: yourMessage})

To send to a specific one, set the To field of the Message:

server.Broadcast(conn, neffos.Message{To: "connectionID", Namespace: "...", Event: "...", Body: yourMessage})

OR, if you have access to the connection value:

conn.Emit("event", yourMessage)
Yuxin Zhao
@YuxinZhaozyx
Hello, Is there any example for building microservices with Iris Web Framework?
Gerasimos (Makis) Maropoulos
@kataras
Hello @YuxinZhaozyx, yes take a look at: https://github.com/kataras/iris/wiki/Starter-kits
godsendMorgen
@tonyjia87
Is there a development tool like Laravel's homestead provides a wonderful and standard development environment ?
Gerasimos (Makis) Maropoulos
@kataras
@tonyjia87 you don't need tools like that with Go at all