base_protocol

package
v0.0.0-...-cbc0f95 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JwtClaims

type JwtClaims struct {
	Username string
	jwt.StandardClaims
}

type ReqQuery

type ReqQuery struct {
	Name string
	Data string
}

type Request

type Request struct {
	Tctx          *logger.TraceContext
	UserAuthority *base_spec.UserAuthority
	Token         string
	Service       string
	Project       string
	Queries       []ReqQuery
}

type Response

type Response struct {
	TraceId   string
	Code      uint8
	Error     string
	ResultMap map[string]Result
}

type Result

type Result struct {
	Code  uint8
	Error string
	Data  interface{}
}

Jump to

Keyboard shortcuts

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