Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server hold the gin engine and any clients we need for the API.
func (*Server) Setup ¶
func (s *Server) Setup()
Setup sets any global middlewares then initializes the API.
func (*Server) WithAPIKey ¶
WithAPIKey sets the API key required for create and delete operations.
func (*Server) WithBuilder ¶
func (s *Server) WithBuilder(b gcloud.CloudRunCommandBuilder)
WithBuilder sets the gcloud command builder.
func (*Server) WithEngine ¶
WithEngine sets the gin engine instance for the server.
func (*Server) WithFiatClient ¶
WithFiatClient sets the Fiat Client.
func (*Server) WithSQLClient ¶
WithSQLClient sets the sql client instance for the server.
Click to show internal directories.
Click to hide internal directories.