The golang bindings for libtoxcore (Project Tox).
Branch: master
Clone or download
Pull request Compare This branch is 49 commits ahead, 1 commit behind xbee:master.
iphydf Run some Go auto-tests in parallel.
This requires that all auto-tests are in the same top level test.
Latest commit 248ef67 Sep 6, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmds Avoid clashes with "build" directories on case-insensitive file systems. Jan 28, 2018
examples Avoid clashes with "build" directories on case-insensitive file systems. Jan 28, 2018
tools Adopt new conference peer nick/list_changed callbacks. Feb 22, 2018
.travis.yml
BUILD.bazel Run some Go auto-tests in parallel. Sep 8, 2018
LICENSE
README.md
c.go Adapt toxencryptsave.go to the new toxencryptsave API. Jan 22, 2018
const.go Adopt new conference peer nick/list_changed callbacks. Feb 22, 2018
const_auto.go Update consts to match changes in tox.h. Aug 5, 2018
group.go Use `(void)` for empty parameter lists in C. Sep 8, 2018
group_intern.c Enable .travis.yml check and use non-markdown license. Aug 18, 2018
group_intern.go change group invite cookie to string. Dec 20, 2017
group_intern_test.go fix list group infinite loop. fix get group identifier. Jul 19, 2018
group_legacy.go Adopt new conference peer nick/list_changed callbacks. Feb 22, 2018
hooks.go change group invite cookie to string. Dec 20, 2017
options.go Use getters/setters for Tox_Options instead of struct members. Jan 24, 2018
tox.go Run some Go auto-tests in parallel. Sep 8, 2018
tox_test.go Run some Go auto-tests in parallel. Sep 8, 2018
toxav.go Nullable callback arguments. Fix tests. Jul 26, 2018
toxencryptsave.go
userdata.go fallback to old concurrent map when compiler version <= 1.8 Nov 30, 2017
userdata_legacy.go fallback to old concurrent map when compiler version <= 1.8 Nov 30, 2017
utils.go fix save file when disk full. Jul 19, 2018
yuv2rgb.c update toxav binding. Apr 2, 2016

README.md

Build Status GoDoc

go-toxcore

The golang bindings for libtoxcore

Installation

# fetch libtoxcore if necessary
# see https://github.com/TokTok/c-toxcore/blob/master/INSTALL.md
go get github.com/TokTok/go-toxcore-c

Examples

import "github.com/TokTok/go-toxcore-c"

// use custom options
opt := tox.NewToxOptions()
t := tox.NewTox(opt)
av := tox.NewToxAv(t)

// use default options
t := tox.NewTox(nil)
av := tox.NewToxAv(t)

Tests

go test -v -covermode count

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request