2019-02-06 11:03:48 -03:00
2018-10-01 23:27:10 +05:30
2017-12-14 14:39:53 -05:00
2017-12-14 14:39:53 -05:00
2019-02-06 11:03:48 -03:00
2017-12-14 14:39:53 -05:00
2017-12-15 10:23:37 -05:00
2018-10-01 14:02:06 -04:00
2017-12-15 10:23:37 -05:00

LBRY Types

Cross-language definitions for standard LBRY types.

Using LBRY types in your code

Go

package main

import pb "github.com/lbryio/types/go"
import "fmt"

func main() {
    title := "Coherence"
    metadata := pb.Metadata{Title:&title}
    fmt.Printf("Let's watch %s on LBRY!\n", metadata.GetTitle())
}

Python

todo

Javascript

todo

Compiling types

You only need to do this if you're modifying the types themselves.

  • Download the protoc binary and put it in your path. Make sure you get the one starting with protoc, not protobuf.
  • ./build.sh

License

MIT

S
Description
No description provided
Readme
778 KiB
0 Stars 1 Watchers 0 Forks
Languages
JavaScript 98.3%
Python 0.9%
Shell 0.8%