Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RestServer ¶
type RestServer struct {
TracerProvider *sdktrace.TracerProvider
// contains filtered or unexported fields
}
RestServer handler for getting and updating Ratings
func NewRestServer ¶
func NewRestServer(dbContext *application.DataContext) *RestServer
NewRestServer returns a new APIContext handler with the given logger
func (*RestServer) RunServer ¶
func (restServer *RestServer) RunServer(bindAddress *string) error
RunServer prepares the server and runs it
func (*RestServer) Shutdown ¶
func (restServer *RestServer) Shutdown(ctx context.Context)
Shutdown gracefully shuts down the server
Click to show internal directories.
Click to hide internal directories.