Documentation ¶
Index ¶
- Variables
- type Attribute
- type AttributePage
- type AttributeService
- func (d AttributeService) Endpoint() string
- func (d AttributeService) EndpointWithParams() string
- func (d AttributeService) ID(i int) (res Attribute, err error)
- func (d AttributeService) List() (res AttributePage, err error)
- func (d AttributeService) Name(s string) (res Attribute, err error)
- func (d AttributeService) WithQueryParams(q resources.QueryParams) AttributeService
- type Digimon
- type DigimonPage
- type DigimonService
- func (d DigimonService) Endpoint() string
- func (d DigimonService) EndpointWithParams() string
- func (d DigimonService) ID(i int) (res Digimon, err error)
- func (d DigimonService) List() (res DigimonPage, err error)
- func (d DigimonService) Name(s string) (res Digimon, err error)
- func (d DigimonService) WithQueryParams(q resources.DigimonQueryParams) DigimonService
- type Level
- type LevelPage
- type LevelService
- func (d LevelService) Endpoint() string
- func (d LevelService) EndpointWithParams() string
- func (d LevelService) ID(i int) (res Level, err error)
- func (d LevelService) List() (res LevelPage, err error)
- func (d LevelService) Name(s string) (res Level, err error)
- func (d LevelService) WithQueryParams(q resources.QueryParams) LevelService
- type Skill
- type SkillPage
- type SkillService
- func (d SkillService) Endpoint() string
- func (d SkillService) EndpointWithParams() string
- func (d SkillService) ID(i int) (res Skill, err error)
- func (d SkillService) List() (res SkillPage, err error)
- func (d SkillService) Name(s string) (res Skill, err error)
- func (d SkillService) WithQueryParams(q resources.QueryParams) SkillService
- type Type
- type TypePage
- type TypeService
- func (d TypeService) Endpoint() string
- func (d TypeService) EndpointWithParams() string
- func (d TypeService) ID(i int) (res Type, err error)
- func (d TypeService) List() (res TypePage, err error)
- func (d TypeService) Name(s string) (res Type, err error)
- func (d TypeService) WithQueryParams(q resources.QueryParams) TypeService
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoNextPage = errors.New("no next page")
View Source
var ErrNoPrevPage = errors.New("no prev page")
Functions ¶
This section is empty.
Types ¶
type AttributePage ¶
type AttributePage struct { resources.AttributePage // contains filtered or unexported fields }
func (AttributePage) Next ¶
func (d AttributePage) Next() (res AttributePage, err error)
func (AttributePage) Prev ¶
func (d AttributePage) Prev() (res AttributePage, err error)
type AttributeService ¶
type AttributeService struct {
// contains filtered or unexported fields
}
func NewAttributeService ¶
func NewAttributeService(client *http.Client) AttributeService
func (AttributeService) Endpoint ¶
func (d AttributeService) Endpoint() string
func (AttributeService) EndpointWithParams ¶
func (d AttributeService) EndpointWithParams() string
func (AttributeService) List ¶
func (d AttributeService) List() (res AttributePage, err error)
func (AttributeService) WithQueryParams ¶
func (d AttributeService) WithQueryParams(q resources.QueryParams) AttributeService
type DigimonPage ¶
type DigimonPage struct { resources.DigimonPage // contains filtered or unexported fields }
func (DigimonPage) Next ¶
func (d DigimonPage) Next() (res DigimonPage, err error)
func (DigimonPage) Prev ¶
func (d DigimonPage) Prev() (res DigimonPage, err error)
type DigimonService ¶
type DigimonService struct {
// contains filtered or unexported fields
}
func NewDigimonService ¶
func NewDigimonService(client *http.Client) DigimonService
func (DigimonService) Endpoint ¶
func (d DigimonService) Endpoint() string
func (DigimonService) EndpointWithParams ¶
func (d DigimonService) EndpointWithParams() string
func (DigimonService) List ¶
func (d DigimonService) List() (res DigimonPage, err error)
func (DigimonService) WithQueryParams ¶
func (d DigimonService) WithQueryParams(q resources.DigimonQueryParams) DigimonService
type LevelService ¶
type LevelService struct {
// contains filtered or unexported fields
}
func NewLevelService ¶
func NewLevelService(client *http.Client) LevelService
func (LevelService) Endpoint ¶
func (d LevelService) Endpoint() string
func (LevelService) EndpointWithParams ¶
func (d LevelService) EndpointWithParams() string
func (LevelService) List ¶
func (d LevelService) List() (res LevelPage, err error)
func (LevelService) WithQueryParams ¶
func (d LevelService) WithQueryParams(q resources.QueryParams) LevelService
type SkillService ¶
type SkillService struct {
// contains filtered or unexported fields
}
func NewSkillService ¶
func NewSkillService(client *http.Client) SkillService
func (SkillService) Endpoint ¶
func (d SkillService) Endpoint() string
func (SkillService) EndpointWithParams ¶
func (d SkillService) EndpointWithParams() string
func (SkillService) List ¶
func (d SkillService) List() (res SkillPage, err error)
func (SkillService) WithQueryParams ¶
func (d SkillService) WithQueryParams(q resources.QueryParams) SkillService
type TypeService ¶
type TypeService struct {
// contains filtered or unexported fields
}
func NewTypeService ¶
func NewTypeService(client *http.Client) TypeService
func (TypeService) Endpoint ¶
func (d TypeService) Endpoint() string
func (TypeService) EndpointWithParams ¶
func (d TypeService) EndpointWithParams() string
func (TypeService) List ¶
func (d TypeService) List() (res TypePage, err error)
func (TypeService) WithQueryParams ¶
func (d TypeService) WithQueryParams(q resources.QueryParams) TypeService
Source Files ¶
Click to show internal directories.
Click to hide internal directories.