Skip to content
/ Token Public

Protobuf definition for the token, plus bindings for several languages

Notifications You must be signed in to change notification settings

passulo/Token

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Protobuf setup

This folder contains the protobuf-definition for the token.

Generating source files

C++, C#, Java, JavaScript, Kotlin, Obj-C, PHP, Python, Ruby

These languages are built into the protoc compiler. Install the compiler via

brew install protobuf

and then run

protoc src/main/protobuf/token.proto --objc_out=. --java_out=. # for more languages see protoc --help

Swift

Install the official plugin via

brew install swift-protobuf

and run

protoc src/main/protobuf/token.proto --swift_out=.

Scala

Download the latest release from github.com/scalapb/ScalaPB/ and run

protoc src/main/protobuf/token.proto --plugin=/path/to/download/protoc-gen-scala --scala_out=src/main/scala

(For more info see this guide.)

About

Protobuf definition for the token, plus bindings for several languages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published