https://github.com/godcong/mmap
the go mmap and share memory package
https://github.com/godcong/mmap
darwin file go io linux memory mmap share tcp udp windows
Last synced: about 2 months ago
JSON representation
the go mmap and share memory package
- Host: GitHub
- URL: https://github.com/godcong/mmap
- Owner: godcong
- License: mit
- Created: 2024-02-21T07:26:01.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-07T06:53:34.000Z (2 months ago)
- Last Synced: 2025-04-07T07:34:23.032Z (2 months ago)
- Topics: darwin, file, go, io, linux, memory, mmap, share, tcp, udp, windows
- Language: Go
- Homepage:
- Size: 70.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MMAP
[](https://github.com/godcong/mmap/releases)
[](https://pkg.go.dev/github.com/godcong/mmap)
[](https://codecov.io/gh/godcong/mmap)
[](http://godoc.org/github.com/godcong/mmap)
[](https://github.com/godcong/mmap/blob/main/LICENSE)
[](https://goreportcard.com/report/github.com/godcong/mmap)The `MMAP` package is a syscall interface to provide safe and efficient access to memory.
Supports for Darwin,Linux and Windows architectures.
## Installation
```
> go get github.com/godcong/mmap@latest
```## Example
See [`examples`](https://github.com/godcong/mmap/blob/main/examples) folder
## Similar Packages
- github.com/godcong/mmap
- golang.org/x/exp/mmap
- github.com/riobard/godcong
- launchpad.net/gommap
- github.com/edsrzf/mmap-go## Plan
- [ ] TCP transmits data through shared memory between threads.
- [ ] Turn off shared memory more elegantly.## Memory Map Service(TODO) Flow
See [`ServiceMemMap`](docs/ServiceMemMap.mmd)## License
This Project used MIT.