Documentation ¶
Index ¶
- Constants
- func SendVoidRespond(conn net.Conn, req *dubbo.Request)
- type RegistryURL
- type SimDubboRegistryServer
- func (d *SimDubboRegistryServer) AcceptLoop(l *net.TCPListener)
- func (d *SimDubboRegistryServer) Init(opts ...server.Options) error
- func (d *SimDubboRegistryServer) Register(schema interface{}, options ...server.RegisterOption) (string, error)
- func (d *SimDubboRegistryServer) Start() error
- func (d *SimDubboRegistryServer) Stop() error
- func (d *SimDubboRegistryServer) String() string
Constants ¶
View Source
const (
NAME = "dubboSimpleRegistry"
)
Variables ¶
This section is empty.
Functions ¶
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
Click to show internal directories.
Click to hide internal directories.