rpc

package
v0.0.0-...-31318cc Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2021 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Answer

type Answer struct {
	Ok bool
}

type Client

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

func Dial

func Dial(path string) (*Client, error)

func (*Client) Close

func (c *Client) Close() error

func (*Client) Do

func (c *Client) Do(query *Query) (*Answer, error)

type Error

type Error struct {
	Error error
}

type Query

type Query struct {
	IP      string
	Project string
	Ua      string
}

type Server

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

func (*Server) Listen

func (s *Server) Listen(ctx context.Context, path string) error

Jump to

Keyboard shortcuts

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