Skip to content

Commit

Permalink
Ran: go generate.
Browse files Browse the repository at this point in the history
Former-commit-id: a7a056c
  • Loading branch information
evanlinjin committed May 21, 2020
1 parent c38865a commit a4633dd
Show file tree
Hide file tree
Showing 5 changed files with 92 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ install-generate: ## Installs required execs for go generate.
# git config --global url.git@github.com:.insteadOf https://github.com/
# Source: https://stackoverflow.com/questions/27500861/whats-the-proper-way-to-go-get-a-private-repository
# We are using 'go get' instead of 'go install' here, because we don't have a git tag in which 'readmegen' is already implemented.
${OPTS} go get -u github.com/SkycoinPro/skywire-services/cmd/readmegen@master
${OPTS} go get -u github.com/SkycoinPro/skywire-services/cmd/readmegen

generate: ## Generate mocks and config README's
go generate ./...
Expand Down
2 changes: 1 addition & 1 deletion cmd/apps/skychat/static.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 6 additions & 7 deletions pkg/hypervisor/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Config

- `public_key` ([PubKey](#PubKey))
- `secret_key` ([SecKey](#SecKey))
- `public_key` (PubKey)
- `secret_key` (SecKey)
- `db_path` (string)
- `enable_auth` (bool)
- `cookies` ([CookieConfig](#CookieConfig))
- `dmsg_discovery` (string)
- `dmsg_port` ([uint16](#uint16))
- `dmsg_port` (uint16)
- `http_addr` (string)
- `enable_tls` (bool)
- `tls_cert_file` (string)
Expand All @@ -15,9 +15,8 @@

# CookieConfig

- `hash_key` ([Key](#Key))
- `block_key` ([Key](#Key))
- `expires_duration` ([Duration](#Duration))
- `hash_key` (Key)
- `block_key` (Key)
- `expires_duration` (Duration)
- `path` (string)
- `domain` (string)
- `-` (bool)
4 changes: 2 additions & 2 deletions pkg/setup/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Config

- `public_key` ([PubKey](#PubKey))
- `secret_key` ([SecKey](#SecKey))
- `public_key` (PubKey)
- `secret_key` (SecKey)
- `dmsg` ([DmsgConfig](#DmsgConfig))
- `transport_discovery` (string)
- `log_level` (string)
Expand Down
82 changes: 82 additions & 0 deletions pkg/visor/visorconfig/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# V1

- `dmsg` (*[DmsgConfig](#DmsgConfig))
- `dmsgpty` (*[V1Dmsgpty](#V1Dmsgpty))
- `stcp` (*[STCPConfig](#STCPConfig))
- `transport` (*[V1Transport](#V1Transport))
- `routing` (*[V1Routing](#V1Routing))
- `uptime_tracker` (*[V1UptimeTracker](#V1UptimeTracker))
- `launcher` (*[V1Launcher](#V1Launcher))
- `hypervisors` ()
- `cli_addr` (string)
- `log_level` (string)
- `shutdown_timeout` (Duration)
- `restart_check_delay` (string)


# V1Launcher

- `discovery` (*[V1AppDisc](#V1AppDisc))
- `apps` ([][AppConfig](#AppConfig))
- `server_addr` (string)
- `bin_path` (string)
- `local_path` (string)


# V1Transport

- `discovery` (string)
- `log_store` (*[V1LogStore](#V1LogStore))
- `trusted_visors` ()


# V1AppDisc

- `update_interval` (Duration)
- `proxy_discovery_addr` (string)


# V1UptimeTracker

- `addr` (string)


# V1Routing

- `setup_nodes` ()
- `route_finder` (string)
- `route_finder_timeout` (Duration)


# V1LogStore

- `type` (string) - Type defines the log store type. Valid values: file, memory.
- `location` (string)


# V1Dmsgpty

- `port` (uint16)
- `authorization_file` (string)
- `cli_network` (string)
- `cli_address` (string)


# AppConfig

- `name` (string)
- `args` ([]string)
- `auto_start` (bool)
- `port` (Port)


# DmsgConfig

- `discovery` (string)
- `sessions_count` (int)


# STCPConfig

- `pk_table` ()
- `local_address` (string)

0 comments on commit a4633dd

Please sign in to comment.