modulepackage
0.0.1
Repository: https://github.com/andatoshiki/telegraph-go.git
Documentation: pkg.go.dev
# README
@andatoshiki/telegraph-go
Go library for using Telegraph API.
Install
$ go get -u github.com/andatoshiki/telegraph-go
Sample codes
View examples using this API wrapper in ./samples/
.
License
MIT
# Packages
No description provided by the author
# Functions
Create creates a new Telegraph client.
Load a Telegraph client with 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.
# Constants
constants.
# Variables
default: false.
# Structs
Account type
http://telegra.ph/api#Account.
APIResponse struct.
APIResponseAccount struct.
APIResponsePage struct.
APIResponsePageList struct.
APIResponsePageViews struct.
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.
# Interfaces
Node type
http://telegra.ph/api#Node.