simpleregistry

package
v0.0.0-...-4d3f714 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NAME = "dubboSimpleRegistry"
)

Variables

This section is empty.

Functions

func SendVoidRespond

func SendVoidRespond(conn net.Conn, req *dubbo.Request)

SendVoidRespond is a method to send void respose

Types

type RegistryURL

type RegistryURL struct {
	Protocol   string
	Username   string
	Password   string
	Host       string
	Port       int
	Path       string
	Parameters map[string]string
}

RegistryURL is a struct which has attributes of a URL

type SimDubboRegistryServer

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

SimDubboRegistryServer is a struct

func (*SimDubboRegistryServer) AcceptLoop

func (d *SimDubboRegistryServer) AcceptLoop(l *net.TCPListener)

AcceptLoop is a method to receive data in loop

func (*SimDubboRegistryServer) Init

func (d *SimDubboRegistryServer) Init(opts ...server.Options) error

Init is a method which initialized server config

func (*SimDubboRegistryServer) Register

func (d *SimDubboRegistryServer) Register(schema interface{}, options ...server.RegisterOption) (string, error)

Register is a method to register schema to that server

func (*SimDubboRegistryServer) Start

func (d *SimDubboRegistryServer) Start() error

Start is a method to start the server

func (*SimDubboRegistryServer) Stop

func (d *SimDubboRegistryServer) Stop() error

Stop is a method to stop the server

func (*SimDubboRegistryServer) String

func (d *SimDubboRegistryServer) String() string

Jump to

Keyboard shortcuts

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