service

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: MIT, BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EditReq

type EditReq struct {
}

type EditReq_EditDetails

type EditReq_EditDetails struct {
}

type Object

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

type SignupReq

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

type StaticService

type StaticService struct{}

func (*StaticService) Get2

func (*StaticService) Get2(ctx *http_context.Context, req *SignupReq) (*TinyRep, error)

func (*StaticService) Service

func (*StaticService) Service() (string, string, []http.HandlerFunc)

type TestService

type TestService struct{}

func (*TestService) Service

func (*TestService) Service() (string, string, []http.HandlerFunc)

func (*TestService) Test

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

func (*TestService) Test1

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

func (*TestService) Test2

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

func (*TestService) Test3

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

type TinyRep

type TinyRep struct {
	Code    uint32 `json:"code"`
	Message string `json:"message"`
}

type UserService

type UserService struct{}

func (*UserService) Add

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

func (*UserService) Edit

func (*UserService) Get

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

func (*UserService) Service

func (*UserService) Service() (string, string, []http.HandlerFunc)

Jump to

Keyboard shortcuts

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