club

package
Version: v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DetailParser

type DetailParser struct {
	parser.BaseParser
	ID   int
	Data model.Club
}

DetailParser is parser for MyAnimeList club information. Exanple: https://myanimelist.net/clubs.php?cid=1

func InitDetailParser

func InitDetailParser(config config.Config, id int) (detail DetailParser, err error)

InitDetailParser to initiate all fields and data of DetailParser.

type ListParser

type ListParser struct {
	parser.BaseParser
	Page int
	Sort int
	Data []model.List
}

ListParser is parser for MyAnimeList club list. Exanple: https://myanimelist.net/clubs.php

func InitListParser

func InitListParser(config config.Config, params ...int) (list ListParser, err error)

InitListParser to initiate all fields and data of ListParser.

type MemberParser

type MemberParser struct {
	parser.BaseParser
	ID   int
	Page int
	Data model.Member
}

MemberParser is parser for MyAnimeList club friend list. Example: https://myanimelist.net/clubs.php?action=view&t=members&id=1

func InitMemberParser

func InitMemberParser(config config.Config, id int, page ...int) (member MemberParser, err error)

InitMemberParser to initiate all fields and data of MemberParser.

type PictureParser

type PictureParser struct {
	parser.BaseParser
	ID   int
	Data model.Picture
}

PictureParser is parser for MyAnimeList club friend list. Example: https://myanimelist.net/clubs.php?action=view&t=pictures&id=1

func InitPictureParser

func InitPictureParser(config config.Config, id int) (picture PictureParser, err error)

InitPictureParser to initiate all fields and data of PictureParser.

Jump to

Keyboard shortcuts

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