client

package
v0.0.0-...-3d0adf2 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

====================================================

# Copyright (C)2019 All rights reserved. # # Author : domchan # Email : 814172254@qq.com # File Name : client.go # Created : 2019/1/28 16:54 # Last Modified : 2019/1/28 16:54 # Describe : # # ====================================================

====================================================

# Copyright (C)2019 All rights reserved. # # Author : domchan # Email : 814172254@qq.com # File Name : produce.go # Created : 2019/1/28 16:58 # Last Modified : 2019/1/28 16:58 # Describe : # # ====================================================

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Addr string
}

func NewClient

func NewClient(addr string) *Client

NewClient 返回一个客户端

func (*Client) Ping

func (c *Client) Ping() error

Ping 查看是否能够连接到指定的服务

type Msg

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

Jump to

Keyboard shortcuts

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