api

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearProfile

func ClearProfile(ctx context.Context, c *app.RequestContext)

ClearProfile . @router /profile [DELETE]

func ClearProfilePhoto

func ClearProfilePhoto(ctx context.Context, c *app.RequestContext)

ClearProfilePhoto . @router /profile/photo [DELETE]

func CompleteProfilePhoto

func CompleteProfilePhoto(ctx context.Context, c *app.RequestContext)

CompleteProfilePhoto . @router /profile/photo/complete [POST]

func CreateCar

func CreateCar(ctx context.Context, c *app.RequestContext)

CreateCar . @router /car [POST]

func CreateProfilePhoto

func CreateProfilePhoto(ctx context.Context, c *app.RequestContext)

CreateProfilePhoto . @router /profile/photo [POST]

func CreateTrip

func CreateTrip(ctx context.Context, c *app.RequestContext)

CreateTrip . @router /trip [POST]

func GetCar

func GetCar(ctx context.Context, c *app.RequestContext)

GetCar . @router /car [GET]

func GetCars

func GetCars(ctx context.Context, c *app.RequestContext)

GetCars . @router /cars [GET]

func GetProfile

func GetProfile(ctx context.Context, c *app.RequestContext)

GetProfile . @router /profile [GET]

func GetProfilePhoto

func GetProfilePhoto(ctx context.Context, c *app.RequestContext)

GetProfilePhoto . @router /profile/photo [GET]

func GetTrip

func GetTrip(ctx context.Context, c *app.RequestContext)

GetTrip . @router /trip/:id [GET]

func GetTrips

func GetTrips(ctx context.Context, c *app.RequestContext)

GetTrips . @router /trips [GET]

func GetUserInfo

func GetUserInfo(ctx context.Context, c *app.RequestContext)

GetUserInfo . @router /auth/info [GET]

func Login

func Login(ctx context.Context, c *app.RequestContext)

Login . @router /auth/login [POST]

func SubmitProfile

func SubmitProfile(ctx context.Context, c *app.RequestContext)

SubmitProfile . @router /profile [POST]

func UpdateTrip

func UpdateTrip(ctx context.Context, c *app.RequestContext)

UpdateTrip . @router /trip/:id [PUT]

func UpdateUserInfo

func UpdateUserInfo(ctx context.Context, c *app.RequestContext)

UpdateUserInfo . @router /auth/info [POST]

func UploadAvatar

func UploadAvatar(ctx context.Context, c *app.RequestContext)

UploadAvatar . @router /auth/avatar [POST]

Types

This section is empty.

Jump to

Keyboard shortcuts

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