nobl

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HiClientTypeID = "hiclient"
)
View Source
const (
	HiServerTypeID = "hiserver"
)

Variables

This section is empty.

Functions

func HiClientTypeLives

func HiClientTypeLives() []*dot.TypeLives

HiClientTypeLives make all type lives

func HiServerTypeLives

func HiServerTypeLives() []*dot.TypeLives

HiServerTypeLives make all type lives

Types

type HiClient

type HiClient struct {
	Conn *conns.ConnName `dot:""`
	// contains filtered or unexported fields
}

func (*HiClient) AfterAllInject

func (c *HiClient) AfterAllInject(l dot.Line)

func (*HiClient) HiClient

func (c *HiClient) HiClient() hidot.HiDotClient

type HiServer

type HiServer struct {
	ServerNobl gserver.ServerNobl `dot:""`
	// contains filtered or unexported fields
}

func (*HiServer) BothSides

func (c *HiServer) BothSides(server hidot.HiDot_BothSidesServer) error

func (*HiServer) ClientStream

func (c *HiServer) ClientStream(clientStream hidot.HiDot_ClientStreamServer) error

func (*HiServer) Hi

func (c *HiServer) Hi(ctx context.Context, req *hidot.HiReq) (*hidot.HiRes, error)

func (*HiServer) ServerStream

func (c *HiServer) ServerStream(req *hidot.HelloRequest, serverStream hidot.HiDot_ServerStreamServer) error

func (*HiServer) Start

func (c *HiServer) Start(ignore bool) error

func (*HiServer) Write

func (c *HiServer) Write(ctx context.Context, req *hidot.WriteReq) (*hidot.WriteRes, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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