moved protobuf to client package

Signed-off-by: Michael <michael.lindman@gmail.com>
This commit is contained in:
Michael 2020-12-15 21:45:11 +00:00
parent 344de847c7
commit 71cddf0aca
3 changed files with 5 additions and 4 deletions

View File

@ -7,7 +7,7 @@ import (
"strconv"
"time"
"git.0cd.xyz/michael/mcstatus/pb"
"git.0cd.xyz/michael/mcstatus/client/pb"
"github.com/golang/protobuf/jsonpb"
)

View File

@ -403,9 +403,10 @@ var file_response_proto_rawDesc = []byte{
0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
0x74, 0x65, 0x78, 0x74, 0x1a, 0x1b, 0x0a, 0x05, 0x45, 0x78, 0x74, 0x72, 0x61, 0x12, 0x12, 0x0a,
0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78,
0x74, 0x42, 0x21, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x2e, 0x30, 0x63, 0x64, 0x2e, 0x78, 0x79, 0x7a,
0x74, 0x42, 0x28, 0x5a, 0x26, 0x67, 0x69, 0x74, 0x2e, 0x30, 0x63, 0x64, 0x2e, 0x78, 0x79, 0x7a,
0x2f, 0x6d, 0x69, 0x63, 0x68, 0x61, 0x65, 0x6c, 0x2f, 0x6d, 0x63, 0x73, 0x74, 0x61, 0x74, 0x75,
0x73, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x73, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
}
var (

View File

@ -3,7 +3,7 @@ package client
import (
"time"
"git.0cd.xyz/michael/mcstatus/pb"
"git.0cd.xyz/michael/mcstatus/client/pb"
)
// GetStatus gets minecraft server status