go-tezos: github.com/DefinitelyNotAGoat/go-tezos/client Index | Files

package client

import "github.com/DefinitelyNotAGoat/go-tezos/client"


Package Files

client.go interfaces.go mocks.go

type Client Uses

type Client struct {
    URL string
    // contains filtered or unexported fields

Client is a struct to represent the http or rpc client

func NewClient Uses

func NewClient(URL string) *Client

NewClient returns a new client

func (*Client) Get Uses

func (c *Client) Get(path string, params map[string]string) ([]byte, error)

func (*Client) Post Uses

func (c *Client) Post(path, args string) ([]byte, error)

type TezosClient Uses

type TezosClient interface {
    Post(path, args string) ([]byte, error)
    Get(path string, params map[string]string) ([]byte, error)

Package client imports 10 packages (graph) and is imported by 20 packages. Updated 2019-08-19. Refresh now. Tools for package owners.