types: add transfer direction

This commit is contained in:
c9s 2023-03-23 09:04:49 +08:00
parent 487fbf8681
commit 161dc7dc64
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

8
pkg/types/transfer.go Normal file
View File

@ -0,0 +1,8 @@
package types
type TransferDirection int
const (
TransferIn TransferDirection = 1
TransferOut TransferDirection = -1
)