service

package
v1.8.3 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthInfo

type AuthInfo struct {
	Id int
	jwt.RegisteredClaims
}

func ParseAuthInfo

func ParseAuthInfo(ctx *fiberctx.Context) (*AuthInfo, error)

type EditReq

type EditReq struct {
}

type EditReq_EditDetail added in v1.6.2

type EditReq_EditDetail struct {
}

type Object

type Object struct {
	Id uint64 `json:"id"`
}

type SignupReq

type SignupReq struct {
	Mail string `json:"mail"`
}

type TestService

type TestService struct{}

func (*TestService) Service

func (*TestService) Service() (string, string, []fiber.Handler)

func (*TestService) Test

func (*TestService) Test(ctx *fiberctx.Context, req *SignupReq) (*TinyRep, error)

func (*TestService) Test1

func (*TestService) Test1(ctx *fiberctx.Context, req *SignupReq) (*TinyRep, error)

func (*TestService) Test2

func (*TestService) Test2(ctx *fiberctx.Context, req *SignupReq) (*TinyRep, error)

func (*TestService) Test3

func (*TestService) Test3(ctx *fiberctx.Context, req *SignupReq) (*TinyRep, error)

type TinyRep

type TinyRep struct {
	Code uint32 `json:"code"`
	Msg  string `json:"msg"`
}

type UserService

type UserService struct{}

func (*UserService) Add

func (*UserService) Add(ctx *fiberctx.Context, req *SignupReq) (*TinyRep, error)

func (*UserService) Edit

func (*UserService) Get

func (*UserService) Get(ctx *fiberctx.Context, req *Object) (*TinyRep, error)

func (*UserService) Service

func (*UserService) Service() (string, string, []fiber.Handler)

Jump to

Keyboard shortcuts

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