client

package
v0.0.0-...-965f49c Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Name string
	// contains filtered or unexported fields
}

Client 客户端

func NewClient

func NewClient() *Client

NewClient 客户端 host ip:port

func (*Client) PrintInfo

func (c *Client) PrintInfo()

PrintInfo 打印信息

func (*Client) Run

func (c *Client) Run() error

Run 开始

func (*Client) Stop

func (c *Client) Stop()

Stop 停止

func (*Client) Wait

func (c *Client) Wait()

Wait 阻塞等待关闭

Jump to

Keyboard shortcuts

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