profile

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Meta *meta.Meta
}

func (*Handler) DoGet

func (handler *Handler) DoGet(membershipId string, membershipType int) (*Profile, error)

func (*Handler) GetMeta

func (handler *Handler) GetMeta() *meta.Meta

func (*Handler) NewEntity

func (handler *Handler) NewEntity() entity.Entity

type Profile

type Profile struct {
	Response RepsonseBody `json:"Response"`
	// contains filtered or unexported fields
}

func (*Profile) GetRawJson

func (profile *Profile) GetRawJson() string

func (*Profile) SetRawJson

func (profile *Profile) SetRawJson(rawJson string)

type RepsonseBody

type RepsonseBody struct {
	Profile RepsonseProfile `json:"profile"`
}

type RepsonseProfile

type RepsonseProfile struct {
	Data ResponseData `json:"data"`
}

type ResponseData

type ResponseData struct {
	CharacterIds []string `json:"characterIds"`
}

Jump to

Keyboard shortcuts

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