client

package
v0.0.0-...-6f710c6 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const ABOUT_URL = "/setting/view_about"
View Source
const ADD_BBS_COMMENT = "/bbs/add_bbs_comment"
View Source
const ADD_BBS_COMMENT_REPLY = "/bbs/add_bbs_comment_reply"
View Source
const ADD_BLIST_REVIEW = "/booklist/add_review"
View Source
const ADD_BLIST_REVIEW_COMMENT = "/booklist/add_review_comment"
View Source
const ADD_BLITREVIEW_COMMENT_REPLY = "/booklist/add_review_comment_reply"
View Source
const ADD_BOOK = "/booklist/add_booklist_book"
View Source
const ADD_REVIEW = "/book/add_review"
View Source
const ADD_REVIEW_COMMENT = "/book/add_review_comment"
View Source
const ADD_REVIEW_COMMENT_REPLY = "/book/add_review_comment_reply"
View Source
const ADD_TSUKKOMI = "/chapter/add_tsukkomi"
View Source
const ALIPAY_URL = "/recharge/alipay_order"
View Source
const ALL_MISSION_LIST = "/task/get_all_task_list"
View Source
const ALl_COUPONLIST = "/recharge/get_all_platform_recharge_coupon_list"
View Source
const AUTO_BUY_LIST = "/bookshelf/get_auto_buy_pub_book_list"
View Source
const BBS_ADD_BBS = "/bbs/add_bbs"
View Source
const BBS_GET_BBS_COMMENT_LIST = "/bbs/get_bbs_comment_list"
View Source
const BBS_GET_BBS_LIST = "/bbs/get_bbs_list"
View Source
const BBS_LIKE_BBS = "/bbs/like_bbs"
View Source
const BBS_UNLIKE_BBS = "/bbs/unlike_bbs"
View Source
const BIND_THIRD = "/reader/oauth_bind"
View Source
const BOOKCITY_CHANGE_RECOMMEND_BOOKS = "/bookcity/change_recommend_exposure_books"
View Source
const BOOKCITY_COMIC_RECOMMEND_DATA = "/bookcity/get_comic_recommend"
View Source
const BOOKCITY_DIS_DATA = "/bookcity/get_discount_list"
View Source
const BOOKCITY_GET_BOOK_LIST = "/bookcity/get_filter_book_list"
View Source
const BOOKCITY_GET_BOOK_LIST_BY_ID = "/book/get_book_list"
View Source
const BOOKCITY_GET_BOOK_LIST_BY_MODULE = "/bookcity/get_module_more_list"
View Source
const BOOKCITY_GET_CAROUSEL = "/bookcity/get_carousel"
View Source
const BOOKCITY_GET_CATEGORY_BOOK_LIST = "/bookcity/get_category_book_list"
View Source
const BOOKCITY_GET_FILTER_LIST = "/bookcity/get_filter_search_book_list"
View Source
const BOOKCITY_GET_Fans_RANK_LIST = "/reader/get_consume_most"
View Source
const BOOKCITY_GET_HPMEPAGE_INFO = "/reader/get_homepage_info"
View Source
const BOOKCITY_GET_RANK_lIST = "/bookcity/get_rank_book_list"
View Source
const BOOKCITY_GET_SEARCH_BOOKNAME = "/bookcity/get_search_book_list_by_bookname"
View Source
const BOOKCITY_GET_SEARCH_BOOK_LIST = "/bookcity/get_search_book_list"
View Source
const BOOKCITY_GET_SEARCH_KEYS = "/bookcity/get_search_keys"
View Source
const BOOKCITY_GET_TAG_BOOK_LIST = "/bookcity/get_tag_book_list"
View Source
const BOOKCITY_GET_UP_BOOK_LIST = "/reader/get_up_book_list"
View Source
const BOOKCITY_RECOMMEND_DATA = "/bookcity/get_index_list"
View Source
const BOOKCITY_RECOMMEND_EXPOSURE = "/bookcity/add_specific_recommend_exposure"
View Source
const BOOKCITY_RECOMMEND_LIST = "/bookcity/get_recommend_list"
View Source
const BOOKCITY_VIP_DATA = "/bookcity/get_vip_list"
View Source
const BOOKLIST_ADD_SHARE = "/booklist/add_booklist_share_num"
View Source
const BOOKLIST_LIKE_REVIEW = "/booklist/like_review"
View Source
const BOOKLIST_UNLIKE_REVIEW = "/booklist/unlike_review"
View Source
const BOOKSHELF_ADD_SHELF = "/bookshelf/add_shelf"
View Source
const BOOKSHELF_DELETE_SHELF_BOOK = "/bookshelf/delete_shelf_book"
View Source
const BOOKSHELF_FAVOR = "/bookshelf/favor"
View Source
const BOOKSHELF_GET_SHELF_BOOK_LIST = "/bookshelf/get_shelf_book_list_new"
View Source
const BOOKSHELF_GET_SHELF_LIST = "/bookshelf/get_shelf_list"
View Source
const BOOKSHELF_MOVE_TO_SHELF = "/bookshelf/move_to_shelf"
View Source
const BOOK_BUY = "/book/buy"
View Source
const BOOK_BUY_MULTI = "/chapter/buy_multi"
View Source
const BOOK_GET_INFO_BY_ID = "/book/get_info_by_id"
View Source
const BOOK_GET_PRICE = "/book/get_price"
View Source
const BOOK_GIVE_RECOMMEND = "/book/give_recommend"
View Source
const BOOK_GIVE_YP = "/book/give_yp"
View Source
const BOOK_ITEM_REWARD = "/book/give_reward_prop"
View Source
const BOOK_LIKE_REVIEW = "/book/like_review"
View Source
const BOOK_REWARD = "/book/reward"
View Source
const BOOK_UNLIKE_REVIEW = "/book/unlike_review"
View Source
const BUYMALL = "/prop/buy_prop"
View Source
const BUY_BLIST = "/bookcity/buy_book_list"
View Source
const BUY_PROP = "/prop/buy_prop"
View Source
const CAN_ADDTAG_BOOK = "/book/can_add_tag"
View Source
const CAN_ADD_BOOKLIST = "/booklist/can_add_booklist"
View Source
const CHANGE_PHONE = "/signup/change_bind_phone_num"
View Source
const CHAPTER_BUY = "/chapter/buy"
View Source
const CHAPTER_DOWNLOAD = "/chapter/get_chapter_info"
View Source
const CHAPTER_LIKE_TSUKKOMI = "/chapter/like_tsukkomi"
View Source
const CHAPTER_UNLIKE_TSUKKOMI = "/chapter/unlike_tsukkomi"
View Source
const CREATE_BOOKLIST = "/booklist/add_booklist"
View Source
const DELETE_BOOK = "/booklist/delete_booklist_book"
View Source
const DELETE_BOOKLIST = "/booklist/delete_booklist"
View Source
const DELETE_MSG = "/reader/del_chat_record"
View Source
const DISFAVOR_BOOKLIST = "/booklist/disfavor_booklist"
View Source
const DefaultAppVersion = "2.9.310"
View Source
const DefaultDeviceToken = "ciweimao_"
View Source
const EDIT_BOOK = "/booklist/edit_booklist_book"
View Source
const EDIT_BOOKLIST = "/booklist/edit_booklist"
View Source
const EXP_URL = "/reader/get_grade"
View Source
const FAVOR_BOOKLIST = "/booklist/favor_booklist"
View Source
const GEETEST_FIRST_REGISTER = "/signup/geetest_first_register"
View Source
const GET_ALL_PERMISISSION = "/chapter/get_chapter_permission_list"
View Source
const GET_ALL_TAG = "/book/get_official_tag_list"
View Source
const GET_AUTOBUY = "/bookshelf/get_is_auto_buy_pub"
View Source
const GET_BBS_COMMENT_REPLY_LIST = "/bbs/get_bbs_comment_reply_list"
View Source
const GET_BLIST_REVIEW_COMMENT_LIST = "/booklist/get_review_comment_list"
View Source
const GET_BLIST_REVIEW_LIST = "/booklist/get_review_list"
View Source
const GET_BOOKLISTS = "/bookcity/get_book_lists"
View Source
const GET_BOOKLISTS_DETAIL = "/bookcity/get_booklist_detail"
View Source
const GET_BOOK_HEI = "/book/unlike_tag"
View Source
const GET_BOOK_HOT_TAGLIST = "/book/get_book_hot_tag_list"
View Source
const GET_BOOK_TAGLIST = "/book/get_book_tag_list"
View Source
const GET_BOOK_ZAN = "/book/like_tag"
View Source
const GET_BOUNS_HLB = "/recharge/get_bonus_hlb"
View Source
const GET_BUY_MALLLIST = "/prop/get_prop_buy_record_list"
View Source
const GET_CHANGE_RECOMMEND = "/bookcity/change_recommend_exposure_books"
View Source
const GET_CHAPTER_COMMAND = "/chapter/get_chapter_command"
View Source
const GET_CHAPTER_KEY = "/chapter/get_chapter_cmd"
View Source
const GET_CHAPTER_UPDATE = "/chapter/get_updated_chapter_by_division_id"
View Source
const GET_CPT_IFM = "/chapter/get_cpt_ifm"
View Source
const GET_DECORATION = "/reader/get_decoration_list_by_type"
View Source
const GET_DETAIL_BOOKLISTS = "/bookcity/get_book_correlation_lists"
View Source
const GET_DIVISION_LIST = "/book/get_division_list"
View Source
const GET_DIVISION_LIST_NEW = "/chapter/get_updated_chapter_by_division_new"
View Source
const GET_DOWNURL = "/setting/get_resource_download_url"
View Source
const GET_FANSVALUES = "/book/get_book_fans_value"
View Source
const GET_FAVOR_BOOKLIST = "/booklist/get_favor_booklist"
View Source
const GET_HIS_LIST = "/setting/get_activity_list"
View Source
const GET_MALLLIST = "/prop/get_mall_prop_list"
View Source
const GET_MONEYBAG = "/reader/get_wallet_info"
View Source
const GET_MONEY_FANS_LIST = "/book/get_book_fans_list"
View Source
const GET_MSG_AT = "/reader/get_message_at_list"
View Source
const GET_MSG_COMMENT = "/reader/get_message_comment_list"
View Source
const GET_MY_BOOKLIST = "/booklist/get_my_booklist"
View Source
const GET_PARAGRAPH_TSUKKOMI_LIST = "/chapter/get_paragraph_tsukkomi_list"
View Source
const GET_PARAGRAPH_TSUKKOMI_LIST_NEW = "/chapter/get_paragraph_tsukkomi_list_new"
View Source
const GET_PAYPLID = "/recharge/get_paypal_cid"
View Source
const GET_REVIEW_BLIST_COMMENT_REPLY_LIST = "/booklist/get_review_comment_reply_list"
View Source
const GET_REVIEW_COMMENT_LIST = "/book/get_review_comment_list"
View Source
const GET_REVIEW_COMMENT_REPLY_LIST = "/book/get_review_comment_reply_list"
View Source
const GET_REVIEW_LIST = "/book/get_review_list"
View Source
const GET_REWARDLIST = "/prop/get_reward_list"
View Source
const GET_REWARD_MONEY_LIST = "/book/get_book_operate_list"
View Source
const GET_SEARCH_TAG = "/bookcity/get_hot_key_list"
View Source
const GET_SHARE_INFO = "/book/get_share_info"
View Source
const GET_TSUKKOMI_LIST = "/chapter/get_tsukkomi_list"
View Source
const GET_TSUKKOMI_LIST_SHORT = "/chapter/get_short_tsukkomi_list"
View Source
const GET_TSUKKOMI_NUM = "/chapter/get_tsukkomi_num"
View Source
const GET_UNREAD = "/reader/get_unread_num"
View Source
const GET_UPTIME_LIST = "/bookshelf/get_uptime_list"
View Source
const GET_USER_DECORATION = "/reader/get_reader_decoration_list_by_type"
View Source
const GIFT_HLB_URL = "/setting/view_gift_hlb"
View Source
const GIVE_BLADE = "/book/give_blade"
View Source
const GUIDE_URL = "/setting/help_center_ios"
View Source
const HOW_TO_GET_YP_URL = "/setting/view_yp"
View Source
const INFORM = "/reader/inform"
View Source
const IS_AUTO_BUY_PUB = "/bookshelf/set_is_auto_buy_pub"
View Source
const LEVEL_URL = "/reader/get_grade_rule"
View Source
const META_GET_META_DATA = "/meta/get_meta_data"
View Source
const MOD_SHELF_NAME = "/bookshelf/mod_shelf_name"
View Source
const MONEY_FANS_URL = "/setting/top_rich_detail"
View Source
const MSG_CHAT_LIST = "/reader/get_chat_list_by_reader"
View Source
const MSG_READER_LIST = "/reader/get_message_reader_list"
View Source
const MY_ATTE_LIST = "/reader/get_following_list"
View Source
const MY_BIND = "/signup/check_bind"
View Source
const MY_CONSUMNE_RECORD = "/reader/get_consume_record_list"
View Source
const MY_DETAILS_INFO = "/reader/get_my_info"
View Source
const MY_FANS_LIST = "/reader/get_followed_list"
View Source
const MY_FOOT_BBS = "/reader/get_reader_bbs_list"
View Source
const MY_FOOT_REVIEW = "/reader/get_reader_review_list"
View Source
const MY_FOOT_TSUKKOLIST = "/reader/get_reader_tsukkomi_list"
View Source
const MY_GETSMSCODE = "/signup/send_verify_code"
View Source
const MY_GET_RECHAR_LIST = "/recharge/get_recharge_coupon_list"
View Source
const MY_GIFTHLB_RECORD = "/reader/get_gift_hlb_record_list"
View Source
const MY_GIFT_CODE = "/reader/use_gift_code"
View Source
const MY_ITEM = "/prop/get_active_mall_prop_list"
View Source
const MY_MESSAGE_LIST = "/reader/get_message_list"
View Source
const MY_MISSION_BASE = "/reader/get_personal_task_bonus"
View Source
const MY_MISSION_LIST = "/reader/get_task_list"
View Source
const MY_MISSION_REWARD = "/reader/get_daily_task_bonus"
View Source
const MY_MODIFY_PWD = "/signup/modify_passwd"
View Source
const MY_MOD_INFO = "/reader/mod_my_info"
View Source
const MY_PAY_RECORD = "/reader/get_recharge_record_list"
View Source
const MY_PSON_HOME_DATA = "/reader/get_homepage_info"
View Source
const MY_PSON_PROP_DATA = "/reader/get_prop_info"
View Source
const MY_RECH_RECORD = "/recharge/get_recharge_record_list"
View Source
const MY_SETTING_UPDATE = "/setting/get_version"
View Source
const MY_SHARE = "/reader/personal_task_shared"
View Source
const MY_SIGN_LOGIN = "/signup/login"
View Source
const MY_USE_RECORD = "/prop/get_prop_use_record_list"
View Source
const MY_VERIFY_RECH = "/recharge/verify_recharge"
View Source
const PAYPAL_NOFITY = "/recharge/paypal_notify"
View Source
const READER_FOLLOW = "/reader/follow"
View Source
const READER_GET_BBS_LIST = "/reader/get_reader_bbs_list"
View Source
const READER_GET_CHAPTER_LIST = "/chapter/get_chapter_list"
View Source
const READER_GET_DYNAMIC_LIST = "/reader/get_dynamic_list"
View Source
const READER_GET_REVIEW_LIST = "/reader/get_reader_review_list"
View Source
const READER_GET_TSUKKOMI_LIST = "/reader/get_reader_tsukkomi_list"
View Source
const READER_SEND_MESSAGE = "/reader/send_message"
View Source
const READER_UNFOLLOW = "/reader/unfollow"
View Source
const RECHARGE_ORDER = "/recharge/recharge_order"
View Source
const SAVE_REANTIME = "/reader/add_readbook"
View Source
const SAVE_RECORD = "/bookshelf/set_last_read_chapter"
View Source
const SEND_SCREEN = "/chapter/screenshot"
View Source
const SETTING_APP_FEEDBACK = "/setting/app_feedback"
View Source
const SET_DAOPIAN = "/setting/daopian_des"
View Source
const SET_DEFRIEND = "/reader/defriend"
View Source
const SET_FANSLEVEL = "/setting/fans_level_des"
View Source
const SET_ISREAD = "/reader/set_is_read_comment"
View Source
const SET_ISREAD_AT = "/reader/set_is_read_at"
View Source
const SET_UN_DEFRIEND = "/reader/un_defriend"
View Source
const SET_USER_DECORATION = "/reader/set_decoration_use"
View Source
const SHELF_TUIJIAN = "/bookshelf/get_bookself_reommend_list"
View Source
const SIGNUP_AUTO_LOGIN = "/signup/auto_login"
View Source
const SIGNUP_AUTO_REQ = "/signup/auto_reg_v2"
View Source
const SIGN_RECORD = "/task/get_sign_record"
View Source
const SING_RECORD_TASK = "/reader/get_task_bonus_with_sign_recommend"
View Source
const START_PAGE = "/setting/get_startpage_url"
View Source
const SYS_MSG = "/reader/get_message_sys_list"
View Source
const THIRD_SWITCH = "/setting/thired_party_switch"
View Source
const UNBIND_THIRD = "/reader/oauth_unbind"
View Source
const URL_ORDER = "/recharge/ipay_order"
View Source
const USE_GEETEST = "/signup/use_geetest"
View Source
const WEB_SITE = "https://app.hbooker.com"

Variables

View Source
var DefaultAccount string
View Source
var DefaultToken string

Functions

This section is empty.

Types

type Client

type Client struct {
	Result   []byte
	DataForm url.Values
	Request  *http.Request
	http.Client
}

func Get

func Get(endPoint string, params url.Values) *Client

func Post

func Post(endPoint string, data url.Values) *Client

func Put

func Put(endPoint string, query url.Values) *Client

func (*Client) Bytes

func (c *Client) Bytes() []byte

func (*Client) Decode

func (c *Client) Decode(v any) error

func (*Client) Dict

func (c *Client) Dict() map[string]interface{}

func (*Client) InitClient

func (c *Client) InitClient(Method, urlPath string, dataQuery url.Values) *Client

func (*Client) Json

func (c *Client) Json() gjson.Result

func (*Client) NoEncryptJson

func (c *Client) NoEncryptJson() gjson.Result

func (*Client) Send

func (c *Client) Send() *Client

func (*Client) String

func (c *Client) String() string

Jump to

Keyboard shortcuts

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