Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 601 Bytes

USAGE.md

File metadata and controls

11 lines (7 loc) · 601 Bytes

Using truss

Our Contract

  1. Modify ONLY the files in handlers/.

User logic can be imported and executed within the functions in the handlers. It can also be added as unexported helper functions in the handler file.

Truss will enforce that exported functions in handlers/handlers.go conform to the rpc interface defined in the service *.proto files. All other exported functions will be removed upon next re-run of truss.

  1. DO NOT create files or directories in NAME-service/ All user logic must exist outside of NAME-service/, leaving organization of that logic up to the user.