server

package
v0.0.0-...-1764aa0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(cfg flags.API, awscfg aws.Config, e *echo.Echo) error

Setup configures the API server by registering the Athena workflow handlers and initializing the Athena service client.

Types

type Server

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

func NewAthenaWorkflow

func NewAthenaWorkflow(cfg flags.API, athenaSvc *athena.Client, s3Svc *s3.Client) *Server

NewAthenaWorkflow creates a new Server instance with the provided configuration and Athena service client.

func (*Server) RunAthenaQueryTemplate

func (s *Server) RunAthenaQueryTemplate(c echo.Context) error

(POST /athena/run_query_template).

func (*Server) RunS3AthenaQueryTemplate

func (s *Server) RunS3AthenaQueryTemplate(c echo.Context) error

(POST /athena/run_s3_query_template).

Jump to

Keyboard shortcuts

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