github.com/AntonOrnatskyi/goproxy@v0.0.0-20190205095733-4526a9fa18b4/services/kcpcfg/args.go (about)

     1  package kcpcfg
     2  
     3  import kcp "github.com/xtaci/kcp-go"
     4  
     5  type KCPConfigArgs struct {
     6  	Key          *string
     7  	Crypt        *string
     8  	Mode         *string
     9  	MTU          *int
    10  	SndWnd       *int
    11  	RcvWnd       *int
    12  	DataShard    *int
    13  	ParityShard  *int
    14  	DSCP         *int
    15  	NoComp       *bool
    16  	AckNodelay   *bool
    17  	NoDelay      *int
    18  	Interval     *int
    19  	Resend       *int
    20  	NoCongestion *int
    21  	SockBuf      *int
    22  	KeepAlive    *int
    23  	Block        kcp.BlockCrypt
    24  }