Temporal Server options reference
You can run the Temporal Server as a Go application by including the server package go.temporal.io/server/temporal
and using it to create and start a Temporal Server.
The Temporal Server services can be run in various ways. We recommend this approach for a limited number of situations.
s := temporal.NewServer()
err := s.Start()
if err != nil{
log.Fatal(err)
}
NewServer()
accepts functions as parameters.
Each function returns a ServerOption
that is applied to the instance.
Source code for parameter reference is here: https://github.com/temporalio/temporal/blob/master/temporal/server_option.go