expose

package
v0.0.0-...-c328704 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CMD_EXPOSE       = "expose"
	CMD_EXPOSE_REPLY = "expose:reply"
)

Variables

This section is empty.

Functions

func ClientSide

func ClientSide(dial func() (net.Conn, error)) protocal.HandshakeHandleFunc

func ServerSide

func ServerSide(router *service.Router) protocal.HandshakeHandleFunc

Types

type ExposeReq

type ExposeReq struct {
	Name string
	Attr service.Attribute
}

type Reply

type Reply struct {
	OK  bool
	Err string
}

Jump to

Keyboard shortcuts

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