Skip to main content

Sylk Service

Service icon Service

In Sylk, a service is a way to define a remote procedure call (RPC) interface that can be used by clients to interact with a server. Services are typically used in distributed systems to enable communication between different nodes over a network. Overall, services provide a powerful way to define a contract between a client and a server, making it possible to build complex distributed systems that are easy to use and maintain.

In Sylk CLI, you can define custom service resource types using the

sylk generate service foo.bar.v1.SomeService

#  foo . bar . v1 . SomeService
# | | | |
# | | | |
# | | | └─ The name of the service.
# | | └─ The version of the package.
# | └─ The namespace of the package (logical grouping).
# └─ Root namespace.