mirror of
https://github.com/elyby/chrly.git
synced 2024-12-23 13:40:11 +05:30
6f148a8791
Implemented /signing-key endpoint to get public key in der format, used to sign the textures. Improved logging of errors from http package. Changed behavior of the /cloaks endpoint
22 lines
262 B
Go
22 lines
262 B
Go
package di
|
|
|
|
import "github.com/goava/di"
|
|
|
|
func New() (*di.Container, error) {
|
|
container, err := di.New(
|
|
config,
|
|
dispatcher,
|
|
logger,
|
|
db,
|
|
mojangTextures,
|
|
handlers,
|
|
server,
|
|
signer,
|
|
)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
return container, nil
|
|
}
|