embedded

package
v0.0.0-...-64a9ce5 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Pipe       = "pipe"
	ReqFilter  = "reqFilter"
	Error      = "error"
	Pagination = "pagination"
	Mastodon   = "mastodon"
	Reddit     = "reddit"
	Hackernews = "hackernews"
	Kubernetes = "kubernetes"
)

Variables

This section is empty.

Functions

func Deploy

func Deploy(c *Cluster, svcs []types.EmbeddedSvc) (err error)

Types

type Cluster

type Cluster struct {
	// contains filtered or unexported fields
}

func NewCluster

func NewCluster(rn *graph.RootNode, f generic.Factory, logErr func(err error)) (n *Cluster)

func (*Cluster) Host

func (c *Cluster) Host(id string, h http.Handler) (err error)

func (*Cluster) HostBus

func (c *Cluster) HostBus(id string, f func(context.Context, generic.Generic) generic.Generic) (err error)

func (*Cluster) HostHttpJsonFunc

func (c *Cluster) HostHttpJsonFunc(id string, f func(context.Context, generic.Generic) generic.Generic) (err error)

func (*Cluster) HostSvc

func (c *Cluster) HostSvc(svc types.EmbeddedSvc) (err error)

func (*Cluster) RoundTrip

func (c *Cluster) RoundTrip(req *http.Request) (rsp *http.Response, err error)

Jump to

Keyboard shortcuts

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