Sha256: 7fa548a516d01bab65210363c29eb78e859cc1f2b2084fe4c608fdca6dcf20e9

Contents?: true

Size: 505 Bytes

Versions: 1

Compression:

Stored size: 505 Bytes

Contents

struct WordStats {
  1: i64 count
  2: double percentage
  3: bool palindrome
}

enum Word {
  BRUMAL = 1
  CYCLOPLEAN = 2
  FANTOD = 3
}

struct Person {
  1: string name
  2: optional Word favoriteWord
}

exception Tantrum {
  1: string complaint
}

service ExampleService {
  map<string, WordStats> textStats(1: string text)

  string greet(1: set<Person> people)

  double random()

  void voidMethod(1: bool throwException) throws (1: Tantrum tantrum)

  oneway void onewayMethod(1: string message)
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
scrimp-1.0.0 sample/example.thrift