structs

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: MIT Imports: 1 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppTokenResp

type AppTokenResp struct {
	AccessToken string     `json:"accessToken"`
	ExpireTime  int64      `json:"expireTime"`
	Namespace   string     `json:"namespace"`
	TenantInfo  TenantInfo `json:"tenantInfo"`
}

type AppTokenResult

type AppTokenResult struct {
	Code string       `json:"code"`
	Msg  string       `json:"msg"`
	Data AppTokenResp `json:"data"`
}

type Flow

type Flow struct {
	Execution FlowExecution `json:"execution"`
}

type FlowExecution

type FlowExecution struct {
	ID int64 `json:"id"`
}

type HttpConfig

type HttpConfig struct {
	Domain             string
	MaxIdleConn        int
	MaxIdleConnPerHost int
	IdleConnTimeout    time.Duration
}

type I18n

type I18n []map[string]interface{}

type Initiator

type Initiator struct {
	ID int64 `json:"_id"`
}

type RPCCliConf

type RPCCliConf struct {
	Psm         string        `yaml:"Psm" json:"Psm"`
	DebugAddr   string        `yaml:"DebugAddr" json:"DebugAddr"`
	Cluster     string        `yaml:"Cluster" json:"Cluster"`
	IDC         string        `yaml:"IDC" json:"IDC"`
	Timeout     time.Duration `yaml:"Timeout" json:"Timeout"`
	ConnTimeout time.Duration `yaml:"ConnTimeout" json:"ConnTimeout"`
}

type Tenant

type Tenant struct {
	ID        int64  `json:"id"`
	Name      string `json:"name"`
	Type      int64  `json:"type"`
	Namespace string `json:"namespace"`
	Domain    string `json:"domain"`
}

type TenantInfo

type TenantInfo struct {
	ID                int64  `json:"id"`
	DomainName        string `json:"domainName"`
	TenantName        string `json:"tenantName"`
	TenantType        int64  `json:"tenantType"`
	OutsideTenantInfo struct {
		OutsideDomainName string `json:"outsideDomainName"`
	} `json:"outsideTenantInfo"`
}

type UserContext

type UserContext struct {
	Flow Flow `json:"flow"`
}

Jump to

Keyboard shortcuts

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