Categorygithub.com/meinside/telegraph-go
modulepackage
0.1.2
Repository: https://github.com/meinside/telegraph-go.git
Documentation: pkg.go.dev

# README

telegraph-go

Go library for using Telegraph API.

Install

$ go get -u github.com/meinside/telegraph-go

Usage

Sample codes

See codes in ./samples/.

Todo

  • Add a helper function for converting HTML strings into []telegraph.Node
  • Support go module
  • Add tests
  • Add benchmarks

# Packages

No description provided by the author

# Functions

Create creates a new Telegraph client.
Load a Telegraph client with an existing access token.
NewNodesWithHTML creates new nodes with given HTML string.
NewNodeWithElement creates a new node with given element.
NewNodeWithString creates a new node with given string.

# Variables

default: false.

# Structs

Account type http://telegra.ph/api#Account.
APIResponse struct (base).
Client struct.
NodeElement type http://telegra.ph/api#NodeElement.
Page type http://telegra.ph/api#Page.
PageList type http://telegra.ph/api#PageList.
PageViews type http://telegra.ph/api#PageViews.

# Type aliases

Node type http://telegra.ph/api#Node.