projects/sievemgr

changeset 2:6db34a5344b8

Show server implementation in info output
author Guido Berhoerster <guido+sievemgr@berhoerster.name>
date Mon Oct 26 15:32:20 2020 +0100 (9 months ago)
parents 0cd5a454dfb4
children 3cd182bff992
files cmd/sievemgr/info.go go.mod go.sum
line diff
     1.1 --- a/cmd/sievemgr/info.go	Mon Oct 26 14:46:39 2020 +0100
     1.2 +++ b/cmd/sievemgr/info.go	Mon Oct 26 15:32:20 2020 +0100
     1.3 @@ -60,7 +60,8 @@
     1.4  	}
     1.5  	defer c.Logout()
     1.6  
     1.7 -	fmt.Println(net.JoinHostPort(host, port))
     1.8 +	fmt.Printf("%s (%s)\n", net.JoinHostPort(host, port),
     1.9 +		c.Implementation())
    1.10  	if c.SupportsRFC5804() {
    1.11  		fmt.Println("RFC5804 supported")
    1.12  	}
     2.1 --- a/go.mod	Mon Oct 26 14:46:39 2020 +0100
     2.2 +++ b/go.mod	Mon Oct 26 15:32:20 2020 +0100
     2.3 @@ -3,6 +3,6 @@
     2.4  go 1.14
     2.5  
     2.6  require (
     2.7 -	go.guido-berhoerster.org/managesieve v0.0.0-20201026131555-3fe1614de42c
     2.8 +	go.guido-berhoerster.org/managesieve v0.0.0-20201026142443-8413916df2be
     2.9  	golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897
    2.10  )
     3.1 --- a/go.sum	Mon Oct 26 14:46:39 2020 +0100
     3.2 +++ b/go.sum	Mon Oct 26 15:32:20 2020 +0100
     3.3 @@ -1,5 +1,7 @@
     3.4  go.guido-berhoerster.org/managesieve v0.0.0-20201026131555-3fe1614de42c h1:4HErjjy83de5F6xWn9Fd+N31KDJh0h1jibO6n0Ye6lw=
     3.5  go.guido-berhoerster.org/managesieve v0.0.0-20201026131555-3fe1614de42c/go.mod h1:uvqvWGFO2zONQiEQuDNH37Mg2pM7gTsDZSXtBOSmj98=
     3.6 +go.guido-berhoerster.org/managesieve v0.0.0-20201026142443-8413916df2be h1:pKZGpXqtVG/1d16ZzVMYzjXV09q1jPU+6BsdvVVVqZU=
     3.7 +go.guido-berhoerster.org/managesieve v0.0.0-20201026142443-8413916df2be/go.mod h1:uvqvWGFO2zONQiEQuDNH37Mg2pM7gTsDZSXtBOSmj98=
     3.8  golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
     3.9  golang.org/x/crypto v0.0.0-20200709230013-948cd5f35899/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
    3.10  golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897 h1:pLI5jrR7OSLijeIDcmRxNmw2api+jEfxLoykJVice/E=