goTezos: github.com/DefinitelyNotAGoat/goTezos/client Index | Files

package client

import "github.com/DefinitelyNotAGoat/goTezos/client"

Index

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). Updated 2019-08-27. Refresh now. Tools for package owners.