cloudsdk

package module
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2024 License: GPL-2.0 Imports: 0 Imported by: 0

README

CloudSDK

Provides a small standard set of tools for long running services. Take a look at the examples directory how to kickstart an application.

import (
        "go.uber.org/fx"
        "github.com/tvanriel/cloudsdk/http"
        "github.com/tvanriel/cloudsdk/logging"
        "github.com/tvanriel/cloudsdk/mysql"
        "github.com/tvanriel/cloudsdk/kubernetes"
        "github.com/tvanriel/cloudsdk/s3"
        "github.com/tvanriel/cloudsdk/amqp"
)

func Run() {
        fx.New(
                http.Module,
                mysql.Module,
                logging.Module,
                kubernetes.Module,
                s3.Module,
                amqp.Module,

                fx.Provide(
                        ViperConfiguration,
                        KubernetesConfiguration,
                        amqpConfiguration,
                        HttpConfiguration,
                        S3Configuration,
                        MySQLConfiguration,
                        LoggingConfiguration,

                        http.AsRouteGroup(NewHttpController),
                ),
        ).Run()
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
example
application command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL