fiesta

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2020 License: MIT Imports: 7 Imported by: 0

README

fiesta

Micro-service gateway with the peer-mesh network as backend.

It is a hard fork of flatend, mainly for producing a gateway for the peer-mesh network by reconstruction and reducing some other language support or other feathers, not for improvement.

Further information

Thanks to Kenta Iwasaki for his excellent work.

More

examples

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BindFunc

type BindFunc func() (net.Listener, error)

func BindTCP

func BindTCP(addr string) BindFunc

func BindTCPAnyPort

func BindTCPAnyPort() BindFunc

func BindTCPv4

func BindTCPv4(addr string) BindFunc

func BindTCPv6

func BindTCPv6(addr string) BindFunc

type Node

type Node struct {
	PublicAddr string
	BindAddrs  []BindFunc

	StreamNode *sr.StreamNode
	// contains filtered or unexported fields
}

func (*Node) Shutdown

func (n *Node) Shutdown()

func (*Node) StartWithKeyAndServiceAndProbeAddrs

func (n *Node) StartWithKeyAndServiceAndProbeAddrs(sk kademlia.PrivateKey, services map[string]sr.Handler, probeAddrs ...string) error

Directories

Path Synopsis
cmd
fiesta command
examples
counter command
file command
hello_world command
pipe command

Jump to

Keyboard shortcuts

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