Skip to content

Latest commit

 

History

History
44 lines (36 loc) · 1.82 KB

README.md

File metadata and controls

44 lines (36 loc) · 1.82 KB

RoadRunner API

To install and use generated packages:

go get github.com/roadrunner-server/api/v4/build/<API_NAME>/v1

The Proto API is used for external integrations, mostly for RPC or as internal communications. For example:

package foo

import (
	jobsv1 "github.com/roadrunner-server/api/v4/build/jobs/v1"
)

func Push(in *jobsv1.PushRequest, out *jobsv1.Empty) error {
	return nil
}

Centrifugal API

Building API

  • Install buf: go install github.com/bufbuild/buf/cmd/buf@latest.
  • In the repository root run: buf generate --debug