http

package
v0.0.0-...-9a83fbb Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HackathonApi

func HackathonApi(sb *server.ServerBuiler)

func Init

func Init(sb *server.ServerBuiler)

func NewQ11e

func NewQ11e(input *PutQ11eInput) *hackathon.Q11e

Types

type GetSbtDetailInput

type GetSbtDetailInput struct {
	Address string `json:"address"`
	TokenId int    `json:"tokenId"`
}

type GetSbtDetailOutput

type GetSbtDetailOutput struct {
	Metadata *hackathon.NftMetaDataOutput
	Owners   []string
}

type IdValidateInput

type IdValidateInput struct {
	Address     string `json:"address"`
	BaseAddress string `json:"baseAddress"`
	LensHandle  string `json:"lensHandle"`
	Platform    int    `json:"platform"`
}

type IdValidateOutput

type IdValidateOutput struct {
	Success bool `json:"success"`
}

type PutQ11eInput

type PutQ11eInput struct {
	UserId    string   `json:"userId"`
	Goals     []string `json:"goals"`
	Interests []string `json:"interests"`
	Pref1     string   `json:"pref1"`
	Pref2     string   `json:"pref2"`
	Pref3     string   `json:"pref3"`
	Mbti      int      `json:"mbti"`
}

type RecommendUserResult

type RecommendUserResult struct {
	UserId   primitive.ObjectID `json:"userId"`
	TargetId primitive.ObjectID `json:"targetId"`
	Reasons  []string           `json:"reasons"`
	Score    int                `json:"score"`
	Target   *UserItem          `json:"target"`
}

type ResumePutInput

type ResumePutInput struct {
	Data string `json:"data"`
}

type UserItem

type UserItem struct {
	identity2.UserInfo `json:",inline"`
	FollowingCount     int  `json:"followingCount"`
	FollowerCount      int  `json:"followerCount"`
	IsFollowing        bool `json:"isFollowing"`
}

func NewUserItem

func NewUserItem(u *identity2.User) *UserItem

Jump to

Keyboard shortcuts

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