Documentation
¶
Index ¶
- Constants
- func HiClientTypeLives() []*dot.TypeLives
- func HiServerTypeLives() []*dot.TypeLives
- type HiClient
- type HiServer
- func (c *HiServer) BothSides(server hidot.HiDot_BothSidesServer) error
- func (c *HiServer) ClientStream(clientStream hidot.HiDot_ClientStreamServer) error
- func (c *HiServer) Hi(ctx context.Context, req *hidot.HiReq) (*hidot.HiRes, error)
- func (c *HiServer) ServerStream(req *hidot.HelloRequest, serverStream hidot.HiDot_ServerStreamServer) error
- func (c *HiServer) Start(ignore bool) error
- func (c *HiServer) Write(ctx context.Context, req *hidot.WriteReq) (*hidot.WriteRes, error)
Constants ¶
View Source
const (
HiClientTypeID = "hiclient"
)
View Source
const (
HiServerTypeID = "hiserver"
)
Variables ¶
This section is empty.
Functions ¶
func HiClientTypeLives ¶
HiClientTypeLives make all type lives
func HiServerTypeLives ¶
HiServerTypeLives make all type lives
Types ¶
type HiClient ¶
func (*HiClient) AfterAllInject ¶
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) ClientStream ¶
func (c *HiServer) ClientStream(clientStream hidot.HiDot_ClientStreamServer) error
func (*HiServer) ServerStream ¶
func (c *HiServer) ServerStream(req *hidot.HelloRequest, serverStream hidot.HiDot_ServerStreamServer) error
Click to show internal directories.
Click to hide internal directories.