package
Version:
v3.1.4
Opens a new window with list of versions in this module.
Published: Feb 13, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package deregister
remove registered service on consul.
View Source
const (
CmdDesc = "Remove service from consul"
CmdName = "service:deregister"
)
New
create and return instance.
go run main.go service:deregister \
--addr=consul.example.com \
--scheme=https \
--service-id=myapp-hash-string \
--service-name=myapp
func (*Command) Handle ¶
Handle
send upload request.
InitField
initialize command fields.
InitOption
initialize command option.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.