utils

package
v1.4.2-old Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const DeprecationComment = "// Deprecated: Do not use."
View Source
const Int64Type = "int64"
View Source
const IntType = "int"
View Source
const Required = "required"
View Source
const StringType = "string"
View Source
const UIntType = "uint"

Variables

View Source
var VERSION = "1.4.2-old"

Functions

func Max

func Max[T int | uint | int64 | uint64](a, b T) T

Types

type ClientParam

type ClientParam struct {
	Key   string
	Value string
}

type HTTPParam

type HTTPParam struct {
	Summary         string
	MethodName      string
	Url             string
	UrlParamList    []URLParam
	Permission      string
	Void            bool
	ClientParamList []ClientParam
	Download        bool
}

func ParseRpcLeading

func ParseRpcLeading(comm string, funcName string) (param HTTPParam)

ParseRpcLeading 解析rpc方法注释

type URLParam

type URLParam struct {
	PType string
	PName string
}

Jump to

Keyboard shortcuts

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