router

package
v1.1.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(pkg string, statements []*parser.Statement, banner bool) string

func GenerateDoc added in v1.1.5

func GenerateDoc(statements []*parser.Statement, banner bool) string

func GeneratePanic added in v1.1.4

func GeneratePanic(pkg string, statements []*parser.Statement, banner bool) string

Types

type LinkedMap added in v1.1.5

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

func NewLinkedMap added in v1.1.5

func NewLinkedMap() *LinkedMap

func (*LinkedMap) MarshalJSON added in v1.1.5

func (p *LinkedMap) MarshalJSON() ([]byte, error)

func (*LinkedMap) Put added in v1.1.5

func (p *LinkedMap) Put(key string, value interface{})

type RequestBean added in v1.1.5

type RequestBean struct {
	Timestamp int64       `json:"timestamp"`
	Data      interface{} `json:"data"`
}

type ResultBean added in v1.1.5

type ResultBean struct {
	Code    int         `json:"code"`
	Message string      `json:"message"`
	Data    interface{} `json:"data,omitempty"`
}

Jump to

Keyboard shortcuts

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