route

package
v0.0.0-...-5ced9a5 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewCli, NewHttp, NewWs)

ProviderSet is route providers.

Functions

This section is empty.

Types

type Cli

type Cli struct {
	// contains filtered or unexported fields
}

func NewCli

func NewCli(user *service.UserService) *Cli

func (*Cli) Commands

func (r *Cli) Commands() []*cli.Command

type Http

type Http struct {
	// contains filtered or unexported fields
}

func NewHttp

func NewHttp(user *service.UserService) *Http

func (*Http) Register

func (r *Http) Register(router *chi.Mux)

type Ws

type Ws struct{}

func NewWs

func NewWs() *Ws

func (*Ws) Register

func (r *Ws) Register(router *chi.Mux)

Jump to

Keyboard shortcuts

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