Skip to main content

Files Setup

Last updated on

After you've cloned the Golang SDK, check the following places in your repository:

  1. Open samples/title-matchmaking/aws-lambda to start working with the sample code for the Matchmaking Server-side SDK. We will be using the logic of AWS Lambda to call the main function directly, and the main function will then call the handler. The handler will manage the requests, logic, and responses.

  2. REFERENCES

    See the AWS documentation to learn how to work with the AWS Lambda function handler in Go or our reference in the repository.

  3. Ensure you have the following handler code included in the main.go file. This code will directly call the handler that contains the logic required to start the Matchmaking service in AWS Lambda.

    lambda.Start(titleMMService.StartMatchmaking)