Procyon

Installation

Add Procyon to an existing Go module.

Installation

Procyon is distributed as a Go module.

go get -u codnect.io/procyon/...

For a new project, initialize the module first.

go mod init example.com/app
go get -u codnect.io/procyon/...

Use the packages you need from your application code.

import (
    "codnect.io/procyon"
    "codnect.io/procyon/component"
    "codnect.io/procyon/http"
)

The root package starts the application. The component package registers application components. The http package maps endpoints and handles request context.

On this page