Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
Application abstracts all the functional components to be run by the server.
func Setup ¶
func Setup(cfg Config) (Application, error)
Setup creates a new application using the given Config.
func (Application) Serve ¶
func (app Application) Serve() error
Serve serves the application services.
type Config ¶
Config holds the configuration for this service. It currently uses env vars, but it can eventually migrate to a different config provider.
func ReadConfig ¶
ReadConfig reads the Config from environment variables.
type Services ¶
type Services struct {
Tasks tasksv1.TasksServiceServer
}
Services groups all the services exposed by a single gRPC Server.
Click to show internal directories.
Click to hide internal directories.