profile

package
v0.0.13-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyRoutes

func ApplyRoutes(r *gin.RouterGroup)

ApplyRoutes applies router to gin Router

Types

type GetProfilePayload

type GetProfilePayload struct {
	Name              string   `json:"name,omitempty"`
	WalletAddress     string   `json:"walletAddress"`
	ProfilePictureUrl string   `json:"profilePictureUrl,omitempty"`
	Country           string   `json:"country,omitempty"`
	Roles             []string `json:"roles"`
}

type PatchProfileRequest

type PatchProfileRequest struct {
	Name              string `json:"name,omitempty"`
	Country           string `json:"country,omitempty"`
	ProfilePictureUrl string `json:"profilePictureUrl,omitempty"`
}

Jump to

Keyboard shortcuts

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