implement

package
v2.3.75 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CustomHandler

func CustomHandler(ctx *fiber.Ctx, svc interfaces.User) error

func CustomResponseHandler

func CustomResponseHandler(ctx *fiber.Ctx, svc interfaces.User, arg0 int, arg1 string, opts ...interface{}) (err error)

Types

type JsonRPCService

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

func NewJsonRPC

func NewJsonRPC(log zerolog.Logger) (svc *JsonRPCService)

func (*JsonRPCService) Test

func (svc *JsonRPCService) Test(_ context.Context, arg0 int, arg1 string, opts ...interface{}) (ret1 int, ret2 string, err error)

func (*JsonRPCService) Test2 added in v2.2.3

func (svc *JsonRPCService) Test2(ctx context.Context, arg0 int, arg1 string, opts ...interface{}) (ret1 int, ret2 string, err error)

type UserService

type UserService struct {
}

func NewUser

func NewUser() (svc *UserService)

func (*UserService) CustomHandler

func (svc *UserService) CustomHandler(ctx context.Context, arg0 int, arg1 string, opts ...interface{}) (err error)

func (*UserService) CustomResponse

func (svc *UserService) CustomResponse(ctx context.Context, arg0 int, arg1 string, opts ...interface{}) (err error)

func (*UserService) GetUser

func (svc *UserService) GetUser(ctx context.Context, cookie, userAgent string) (user *types.User, err error)

Jump to

Keyboard shortcuts

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