proto

package
v0.0.0-...-2c1eb2d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const FIELD_NAME_ID = "id"
View Source
const FIELD_NAME_PATH = "path"
View Source
const FIELD_NAME_RESOURCE = "resource"

Variables

This section is empty.

Functions

func AddResource

func AddResource(r *schema.Resource, fb *builder.FileBuilder, sb *builder.ServiceBuilder) error

AddResource adds a resource's protos and RPCs to a file and service.

func GeneratedResourceMessage

func GeneratedResourceMessage(r *schema.Resource) (*builder.MessageBuilder, error)

GenerateResourceMesssage adds the resource message.

func WriteServiceToProto

func WriteServiceToProto(s *schema.Service) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL