go-maquina
Small finite-state machine library for Go (by soypat)
peasocket
little websocket implementation (by soypat)
go-maquina | peasocket | |
---|---|---|
3 | 2 | |
49 | 34 | |
- | - | |
0.0 | 10.0 | |
9 months ago | over 1 year ago | |
Go | Go | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
go-maquina
Posts with mentions or reviews of go-maquina.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-17.
-
Now that Golang has generic types, how do you plan to use them?
https://github.com/soypat/go-maquina finite state machine which takes user callbacks with a generically defined input argument to the callback. See fringeFunc[T]
-
go-maquina: Finite-State Machine package in 300 loc
From https://github.com/soypat/go-maquina/blob/main/statemachine.go
peasocket
Posts with mentions or reviews of peasocket.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-26.
-
peasocket: A dead-simple websocket implementation
Aha! the solution was to add an exponential backoff algorithm! Worked out quite nicely https://github.com/soypat/peasocket/commit/829c018eccd262e4f1e85e89026f266c26bfb6a8
What are some alternatives?
When comparing go-maquina and peasocket you can also consider the following projects:
surf - CLI Text Search across your infrastructure platforms, Universal Ctrl+F for infra
chat-websocket-gin - Example of using gorilla websocket with gin (chat with rooms)
stream - Stream API for Go.
goAPIBaseProject - simple api project written in go
generic-client
statetrooper - StateTrooper is a Go package that provides a finite state machine (FSM) for managing states. It allows you to define and enforce state transitions based on predefined rules.