chore: Strip unneeded components from code.
This commit is contained in:
parent
62cc8b39ad
commit
cf90ddb104
19 changed files with 228 additions and 762 deletions
|
@ -84,7 +84,7 @@ func marshalIndividualProxyStruct(conn *ProxyInstance) ([]byte, error) {
|
|||
return proxyBlock, nil
|
||||
}
|
||||
|
||||
func Marshal(_ string, command interface{}) ([]byte, error) {
|
||||
func Marshal(command interface{}) ([]byte, error) {
|
||||
switch command := command.(type) {
|
||||
case *Start:
|
||||
startCommandBytes := make([]byte, 1+2+len(command.Arguments))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue