Rename CommandConfiguration to Configuration

This commit is contained in:
NI
2019-08-19 21:34:25 +08:00
parent 1070c2bcf2
commit 0becf0d7fc
9 changed files with 16 additions and 16 deletions

View File

@@ -39,7 +39,7 @@ var (
type Command func(
l log.Logger,
w StreamResponder,
cfg CommandConfiguration,
cfg Configuration,
) FSMMachine
// Commands contains data of all commands
@@ -63,7 +63,7 @@ func (c Commands) Run(
id byte,
l log.Logger,
w StreamResponder,
cfg CommandConfiguration) (FSM, error) {
cfg Configuration) (FSM, error) {
if id > MaxCommandID {
return FSM{}, ErrCommandRunUndefinedCommand
}