player

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(user string) (*Player, error)

func (*Handler) GetMeta

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

func (*Handler) NewEntity

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

type Player

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

func (*Player) GetRawJson

func (player *Player) GetRawJson() string

func (*Player) SetRawJson

func (player *Player) SetRawJson(rawJson string)

type RepsonseBody

type RepsonseBody struct {
	MembershipId                string `json:"membershipId"`
	MembershipType              int    `json:"membershipType"`
	BungieGlobalDisplayNameCode int    `json:"bungieGlobalDisplayNameCode"`
}

Jump to

Keyboard shortcuts

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