Frame

A simple frame for quickly setting up api services based on [go-cloud](https://github.com/google/go-cloud) framework

View the Project on GitHub pitabwire/frame

Frame

A simple frame for quickly setting up api servers based on go-cloud framework

Overview

Frame lets you do anything you want to do your way. It organizes and simplifies access to the things you utilize within your setup. Only what is initialized at startup is what frame will instantiate at runtime. Under the hood, frame utilizes go-cloud to be cloud native without a lot of worries on being locked in.

Documentation

Core Documentation

Component Documentation

Security

Quick start

go get -u github.com/pitabwire/frame

Quick Start Example

The simplest possible Frame server in 5 lines:

package main
import ("github.com/pitabwire/frame"; "net/http"; "context")
func main() {
    http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { w.Write([]byte("Hello!")) })
    frame.NewService("hello-service", frame.HttpHandler(http.DefaultServeMux)).Run(context.Background(), ":8080")
}

Try it:

curl http://localhost:8080/

For more comprehensive examples and detailed documentation of Frame’s features, check the sections below.

Contribution

Join us in delivering a better frame! by:

Spreading the word

Program