neo

package module
v0.0.0-...-a33a8dd Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

README

neo

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Neo

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

func New

func New(options ...Option) (*Neo, error)

func (*Neo) GrpcServer

func (neo *Neo) GrpcServer() *grpc.Server

func (*Neo) Register

func (neo *Neo) Register(sd *grpc.ServiceDesc, ss interface{})

func (*Neo) Run

func (neo *Neo) Run() error

func (*Neo) Stop

func (neo *Neo) Stop()

type Option

type Option interface {
	// contains filtered or unexported methods
}

func Address

func Address(address string) Option

func GrpcOption

func GrpcOption(opt grpc.ServerOption) Option

func Network

func Network(network string) Option

Network is one of 'tcp' 'udp'

Directories

Path Synopsis
cfg

Jump to

Keyboard shortcuts

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