ambition-truss: github.com/adamryman/ambition-truss/ambition-service/svc/server Index | Files | Directories

package server

import "github.com/adamryman/ambition-truss/ambition-service/svc/server"

Index

Package Files

run.go

func Run Uses

func Run(cfg Config, logger log.Logger)

Run starts a new http server, gRPC server, and a debug server with the passed config and logger

type Config Uses

type Config struct {
    HTTPAddr  string
    DebugAddr string
    GRPCAddr  string
}

Config contains the required fields for running a server

Directories

PathSynopsis
cli

Package server imports 10 packages (graph). Updated 2018-02-16. Refresh now. Tools for package owners.