Giter Site home page Giter Site logo

88015371 / centrifuge-mobile Goto Github PK

View Code? Open in Web Editor NEW

This project forked from centrifugal/centrifuge-mobile

0.0 1.0 0.0 132.87 MB

Go, iOS and Android client for Centrifugo using gomobile

License: MIT License

C 0.50% Objective-C 26.26% Go 73.25%

centrifuge-mobile's Introduction

This library allows to generate Centrifugo client libraries for iOS and Android using gomobile tool. Also it can be used directly from Go applications.

Gomobile is cool but experimental project so you may better use our native libraries for iOS and Android. But as they are supported by Centrifugo community members they lack some features (your contributions are really appreciated). This repo contains full-featured Centrifugo client for all platforms.

See examples to dive into. In that folder you can find how to use this library from Go, also example iOS app and Android app using generated client bindings.

See how to import generated library on iOS and on Android in introduction post - in two words you need to import centrifuge.aar (Android) or Centrifuge.framework (iOS) which is on top level of this repo to your studio.

API documentation on Godoc

For contributors

Mobile and Go versions have some differences to be a bit more performant when using library directly from Go. So to build bindings for mobile platforms we are ensuring in mobile build tag this way:

gomobile bind -target=ios -tags="mobile" github.com/centrifugal/centrifuge-mobile
gomobile bind -target=android -tags="mobile" github.com/centrifugal/centrifuge-mobile

centrifuge-mobile's People

Contributors

fzambia avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.