Documentation ¶
Overview ¶
Package api contains the api used by scribe
Index ¶
Constants ¶
View Source
const HealthCheck string = "/health-check"
HealthCheck is the health check endpoint.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // HTTPPort is the http port for the api HTTPPort uint16 // Database is the database type // TODO: should be enum Database string // Path is the path to the database or db connection // TODO: should be renamed Path string // GRPCPort is the path to the grpc service GRPCPort uint16 }
Config contains the config for the api.
Click to show internal directories.
Click to hide internal directories.