Skip to content

Commit

Permalink
Merge pull request #98 from ryo-arima/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
ryo-arima authored Sep 17, 2024
2 parents 37f53c4 + 2769514 commit 055b482
Show file tree
Hide file tree
Showing 19 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmd/agent/main.go
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package main
1 change: 1 addition & 0 deletions etc/main.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Application:
UserEmail: "[email protected]"
UserPassword: "secret"
HomeDir: "etc/.mark1"
TemplatesDir: "pkg/client/repository/templates/"

MySQL:
host: 127.0.0.1
Expand Down
1 change: 1 addition & 0 deletions pkg/agent/base.go
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package agent
Empty file added pkg/agent/controller/.gitkeep
Empty file.
Empty file added pkg/agent/repository/.gitkeep
Empty file.
Empty file.
Empty file.
Empty file.
Empty file added pkg/agent/usecase/.gitkeep
Empty file.
1 change: 1 addition & 0 deletions pkg/client/controller/agent.go
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package controller
1 change: 1 addition & 0 deletions pkg/client/repository/agent.go
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package repository
1 change: 1 addition & 0 deletions pkg/client/usecase/agent.go
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package usecase
6 changes: 6 additions & 0 deletions pkg/config/yaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ type Client struct {
TemplatesDir string `yaml:"TemplatesDir"`
}

type Agent struct {
ServerEndpoint string `yaml:"ServerEndpoint"`
UserEmail string `yaml:"UserEmail"`
UserPassword string `yaml:"UserPassword"`
}

type Application struct {
Server Server `yaml:"Server"`
Client Client `yaml:"Client"`
Expand Down
1 change: 1 addition & 0 deletions pkg/entity/model/agent.go
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package model
1 change: 1 addition & 0 deletions pkg/entity/request/agent.go
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package request
1 change: 1 addition & 0 deletions pkg/entity/response/agent.go
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package response
1 change: 1 addition & 0 deletions pkg/server/controller/agent_internal.go
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package controller
1 change: 1 addition & 0 deletions pkg/server/controller/agent_private.go
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package controller
1 change: 1 addition & 0 deletions pkg/server/repository/agent.go
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package repository

0 comments on commit 055b482

Please sign in to comment.