router

package
v0.0.0-...-4838d0d Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Module = fx.Module(
		"router",
		fx.Provide(
			NewStargazerRouter,
		),
	)
)

Functions

This section is empty.

Types

type StargazerRouter

type StargazerRouter struct {
	service.StargazerService
}

func NewStargazerRouter

func NewStargazerRouter(
	config core.StargazerConfig,
	server core.StargazerServer,
	service service.StargazerService,
) StargazerRouter

func (StargazerRouter) GetUserProfile

func (StargazerRouter) GetUserProfile(ctx *fiber.Ctx) error

func (StargazerRouter) Login

func (sr StargazerRouter) Login(ctx *fiber.Ctx) error

func (StargazerRouter) Ping

func (StargazerRouter) Ping(ctx *fiber.Ctx) error

func (StargazerRouter) Refresh

func (sr StargazerRouter) Refresh(ctx *fiber.Ctx) error

func (StargazerRouter) Register

func (sr StargazerRouter) Register(ctx *fiber.Ctx) error

Jump to

Keyboard shortcuts

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