Documentation ¶
Index ¶
- func CustomHandler(ctx *fiber.Ctx, svc interfaces.User) error
- func CustomResponseHandler(ctx *fiber.Ctx, svc interfaces.User, arg0 int, arg1 string, ...) (err error)
- type JsonRPCService
- type UserService
- func (svc *UserService) CustomHandler(ctx context.Context, arg0 int, arg1 string, opts ...interface{}) (err error)
- func (svc *UserService) CustomResponse(ctx context.Context, arg0 int, arg1 string, opts ...interface{}) (err error)
- func (svc *UserService) GetUser(ctx context.Context, cookie, userAgent string) (user *types.User, err error)
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)
type UserService ¶
type UserService struct { }
func NewUser ¶
func NewUser() (svc *UserService)
func (*UserService) CustomHandler ¶
func (*UserService) CustomResponse ¶
Click to show internal directories.
Click to hide internal directories.