Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tailscale/libtailscale
Tailscale C library
https://github.com/tailscale/libtailscale
Last synced: about 2 months ago
JSON representation
Tailscale C library
- Host: GitHub
- URL: https://github.com/tailscale/libtailscale
- Owner: tailscale
- License: bsd-3-clause
- Created: 2023-02-21T01:01:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-07T11:06:46.000Z (8 months ago)
- Last Synced: 2024-06-28T02:41:52.175Z (3 months ago)
- Language: Go
- Homepage:
- Size: 81.1 KB
- Stars: 161
- Watchers: 23
- Forks: 16
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# libtailscale
libtailscale is a C library that embeds Tailscale into a process.
Use this library to compile Tailscale into your program and get
an IP address on a tailnet, entirely from userspace.## Building
With the latest version of Go, run:
```
go build -buildmode=c-archive
```This will produce a `libtailscale.a` file. Link it into your binary,
and use the `tailscale.h` header to reference it.It is also possible to build a shared library using
```
go build -buildmode=c-shared
```## Bugs
Please file any issues about this code or the hosted service on
[the issue tracker](https://github.com/tailscale/tailscale/issues).## License
BSD 3-Clause for this repository, see LICENSE.