Documentation ¶
Index ¶
- Constants
- func Connect(addr string, clientType types.ClientType, handlerFunc ...rpc.HandlerFunc) *client.Client
- func CurrentPort() string
- func Execute(clientType types.ClientType, execFn func(client *Client) error) error
- func NewClient(ctx context.Context, addr string, clientType types.ClientType, ...) *client.Client
- func Serve(addr string) error
- func SetDefaultPort(port string)
- type Client
Constants ¶
View Source
const DEFAULT_PORT = 3434
Variables ¶
This section is empty.
Functions ¶
func Connect ¶
func Connect(addr string, clientType types.ClientType, handlerFunc ...rpc.HandlerFunc) *client.Client
func CurrentPort ¶
func CurrentPort() string
func NewClient ¶
func NewClient(ctx context.Context, addr string, clientType types.ClientType, handlerFunc ...rpc.HandlerFunc) *client.Client
func SetDefaultPort ¶
func SetDefaultPort(port string)
Types ¶
Click to show internal directories.
Click to hide internal directories.