github.com/vcilabs/webrpc@v0.5.2-0.20201116131534-162e27b1b33b/schema/ridl/_example/example1-definitions.ridl (about)

     1  webrpc = v1
     2  
     3  name = hello-webrpc
     4  version = v0.0.1
     5  
     6  # this is a comment
     7  # yep
     8  enum Kind: uint32
     9    - USER = 1             # comment
    10    - ADMIN = 2            # comment..
    11  
    12  # or.. just..
    13  enum Kind2: uint32
    14    - USER                 # aka, = 0
    15    - ADMIN                # aka, = 1
    16  
    17  service PingerService
    18  
    19    # comment can go here
    20    # too .. :)
    21    - Ping() => (status: bool)