handler

package
v0.0.0-...-9fe1ceb Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ping

func Ping(ctx context.Context, c *app.RequestContext)

Ping .

Types

type Data

type Data struct {
	Mobile string `json:"mobile"`
	Token  string `json:"token"`
}

type LoginReq

type LoginReq struct {
	Mobile   string `json:"mobile"`
	Password string `json:"password"`
}

type Welcome

type Welcome struct {
	Msg    string `json:"msg"`
	Code   int64  `json:"code"`
	Status string `json:"status"`
	Data   Data   `json:"data"`
}

func UnmarshalWelcome

func UnmarshalWelcome(data []byte) (Welcome, error)

func (*Welcome) Marshal

func (r *Welcome) Marshal() ([]byte, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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