controller

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthChallengeHandler

func AuthChallengeHandler(c *gin.Context)

func AuthChallenge_Test

func AuthChallenge_Test(c *gin.Context)

func GetHealth

func GetHealth(c *gin.Context)

func Multimode_LinearInstruction

func Multimode_LinearInstruction(c *gin.Context)

func Multimode_LinearInstruction_Test

func Multimode_LinearInstruction_Test(c *gin.Context)

func QueryAPI_LinearInstruction

func QueryAPI_LinearInstruction(c *gin.Context)

func QueryAPI_LinearInstruction_Test

func QueryAPI_LinearInstruction_Test(c *gin.Context)

Types

type APIMessageRequest

type APIMessageRequest struct {
	Query string `json:"query"`
}

type APIMessageResponse

type APIMessageResponse struct {
	ServerMessage string `json:"server_message"`

	QueryResult string `json:"query_result"`
}

type AuthChallenge

type AuthChallenge struct {
	ChallengeID      string                 `json:"challenge_id"`
	ChallengeMessage string                 `json:"challenge_message"`
	ChallengeData    modules.ChallengRecord `json:"challenge_data"`
	ChallengeKey     modules.KeyRecord      `json:"challenge_key"`
}

type OrchestratorRequest

type OrchestratorRequest struct {
	RequestOption string `json:"request_option"`

	RequestTarget string `json:"request_target"`

	Query string `json:"query"`
}

type OrchestratorResponse

type OrchestratorResponse struct {
	ServerMessage string `json:"server_message"`

	QueryResult []byte `json:"query_result"`
}

Jump to

Keyboard shortcuts

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