Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EwanValentine/shippy
/ functions
Functions
247 in github.com/EwanValentine/shippy
⨍
Functions
247
◇
Types & classes
48
↓ 5 callers
Method
String
()
shippy-service-user/proto/user/user.pb.go:36
↓ 3 callers
Method
Decode
(token string)
shippy-service-user/handler.go:13
↓ 2 callers
Method
Create
(ctx context.Context, in *Vessel, opts ...client.CallOption)
shippy-service-vessel/proto/vessel/vessel.pb.micro.go:46
↓ 2 callers
Method
Create
(ctx context.Context, in *User, opts ...client.CallOption)
shippy-service-user/proto/user/user.pb.micro.go:45
↓ 2 callers
Method
CreateConsignment
(ctx context.Context, in *Consignment, opts ...client.CallOption)
shippy-service-consignment/proto/consignment/consignment.pb.micro.go:45
↓ 2 callers
Method
FindAvailable
(ctx context.Context, spec *Specification)
shippy-service-vessel/repository.go:12
↓ 2 callers
Method
GetConsignments
(ctx context.Context, in *GetRequest, opts ...client.CallOption)
shippy-service-consignment/proto/consignment/consignment.pb.micro.go:46
↓ 2 callers
Function
MarshalUser
(user *pb.User)
shippy-service-user/repository.go:43
↓ 2 callers
Function
UnmarshalUser
(user *User)
shippy-service-user/repository.go:61
↓ 1 callers
Method
Auth
(ctx context.Context, in *User, opts ...client.CallOption)
shippy-service-user/proto/user/user.pb.micro.go:48
↓ 1 callers
Method
Create
(ctx context.Context, consignment *Consignment)
shippy-service-consignment/repository.go:89
↓ 1 callers
Method
Create
(ctx context.Context, user *User)
shippy-service-user/repository.go:23
↓ 1 callers
Function
CreateClient
CreateClient -
shippy-service-vessel/datastore.go:12
↓ 1 callers
Function
CreateClient
CreateClient -
shippy-service-consignment/datastore.go:12
↓ 1 callers
Method
Encode
(user *pb.User)
shippy-service-user/handler.go:14
↓ 1 callers
Method
FindAvailable
(ctx context.Context, in *Specification, opts ...client.CallOption)
shippy-service-vessel/proto/vessel/vessel.pb.micro.go:45
↓ 1 callers
Method
Get
(ctx context.Context, id string)
shippy-service-user/repository.go:22
↓ 1 callers
Method
Get
(ctx context.Context, in *User, opts ...client.CallOption)
shippy-service-user/proto/user/user.pb.micro.go:46
↓ 1 callers
Method
GetAll
(ctx context.Context)
shippy-service-consignment/repository.go:90
↓ 1 callers
Method
GetAll
(ctx context.Context)
shippy-service-user/repository.go:21
↓ 1 callers
Method
GetAll
(ctx context.Context, in *Request, opts ...client.CallOption)
shippy-service-user/proto/user/user.pb.micro.go:47
↓ 1 callers
Method
GetByEmail
(ctx context.Context, email string)
shippy-service-user/repository.go:24
↓ 1 callers
Function
MarshalConsignment
Marshal an input consignment type to a consignment model
shippy-service-consignment/repository.go:67
↓ 1 callers
Function
MarshalContainer
(container *pb.Container)
shippy-service-consignment/repository.go:58
↓ 1 callers
Function
MarshalContainerCollection
(containers []*pb.Container)
shippy-service-consignment/repository.go:26
↓ 1 callers
Function
MarshalSpecification
(spec *pb.Specification)
shippy-service-vessel/repository.go:25
↓ 1 callers
Function
MarshalVessel
(vessel *pb.Vessel)
shippy-service-vessel/repository.go:39
↓ 1 callers
Function
NewConnection
NewConnection returns a new database connection instance
shippy-service-user/database.go:12
↓ 1 callers
Function
NewPostgresRepository
(db *sqlx.DB)
shippy-service-user/repository.go:31
↓ 1 callers
Function
UnmarshalConsignment
(consignment *Consignment)
shippy-service-consignment/repository.go:78
↓ 1 callers
Function
UnmarshalConsignmentCollection
(consignments []*Consignment)
shippy-service-consignment/repository.go:42
↓ 1 callers
Function
UnmarshalContainer
(container *Container)
shippy-service-consignment/repository.go:50
↓ 1 callers
Function
UnmarshalContainerCollection
(containers []*Container)
shippy-service-consignment/repository.go:34
↓ 1 callers
Function
UnmarshalUserCollection
(users []*User)
shippy-service-user/repository.go:53
↓ 1 callers
Function
UnmarshalVessel
(vessel *Vessel)
shippy-service-vessel/repository.go:50
↓ 1 callers
Method
ValidateToken
(ctx context.Context, in *Token, opts ...client.CallOption)
shippy-service-user/proto/user/user.pb.micro.go:49
↓ 1 callers
Function
createUser
(ctx context.Context, service micro.Service, user *proto.User)
shippy-cli-user/main.go:13
↓ 1 callers
Function
parseFile
(file string)
shippy-cli-consignment/main.go:20
Method
Auth
(ctx context.Context, req *pb.User, res *pb.Token)
shippy-service-user/handler.go:46
Method
Auth
(ctx context.Context, in *User, opts ...client.CallOption)
shippy-service-user/proto/user/user.pb.micro.go:94
Method
Auth
(context.Context, *User, *Token)
shippy-service-user/proto/user/user.pb.micro.go:120
Method
Auth
(ctx context.Context, in *User, out *Token)
shippy-service-user/proto/user/user.pb.micro.go:155
Method
Create
(ctx context.Context, vessel *Vessel)
shippy-service-vessel/repository.go:13
Method
Create
Create a new vessel
shippy-service-vessel/repository.go:92
Method
Create
Create a new vessel
shippy-service-vessel/handler.go:28
Method
Create
(ctx context.Context, in *Vessel, opts ...client.CallOption)
shippy-service-vessel/proto/vessel/vessel.pb.micro.go:71
Method
Create
(context.Context, *Vessel, *Response)
shippy-service-vessel/proto/vessel/vessel.pb.micro.go:85
Method
Create
(ctx context.Context, in *Vessel, out *Response)
shippy-service-vessel/proto/vessel/vessel.pb.micro.go:108
Method
Create
Create -
shippy-service-consignment/repository.go:99
Method
Create
Create a new user
shippy-service-user/repository.go:90
Method
Create
(ctx context.Context, req *pb.User, res *pb.Response)
shippy-service-user/handler.go:65
Method
Create
(ctx context.Context, in *User, opts ...client.CallOption)
shippy-service-user/proto/user/user.pb.micro.go:64
Method
Create
(context.Context, *User, *Response)
shippy-service-user/proto/user/user.pb.micro.go:117
Method
Create
(ctx context.Context, in *User, out *Response)
shippy-service-user/proto/user/user.pb.micro.go:143
Method
CreateConsignment
CreateConsignment - we created just one method on our service, which is a create method, which takes a context and a request as an argument, these are
shippy-service-consignment/handler.go:19
Method
CreateConsignment
(ctx context.Context, in *Consignment, opts ...client.CallOption)
shippy-service-consignment/proto/consignment/consignment.pb.micro.go:61
Method
CreateConsignment
(context.Context, *Consignment, *Response)
shippy-service-consignment/proto/consignment/consignment.pb.micro.go:84
Method
CreateConsignment
(ctx context.Context, in *Consignment, out *Response)
shippy-service-consignment/proto/consignment/consignment.pb.micro.go:104
Method
Decode
Decode a token string into a token object
shippy-service-user/service.go:28
Method
Descriptor
()
shippy-service-vessel/proto/vessel/vessel.pb.go:38
Method
Descriptor
()
shippy-service-vessel/proto/vessel/vessel.pb.go:113
Method
Descriptor
()
shippy-service-vessel/proto/vessel/vessel.pb.go:161
Method
Descriptor
()
shippy-service-consignment/proto/consignment/consignment.pb.go:37
Method
Descriptor
()
shippy-service-consignment/proto/consignment/consignment.pb.go:107
Method
Descriptor
()
shippy-service-consignment/proto/consignment/consignment.pb.go:167
Method
Descriptor
()
shippy-service-consignment/proto/consignment/consignment.pb.go:201
Method
Descriptor
()
shippy-service-user/proto/user/user.pb.go:38
Method
Descriptor
()
shippy-service-user/proto/user/user.pb.go:104
Method
Descriptor
()
shippy-service-user/proto/user/user.pb.go:138
Method
Descriptor
()
shippy-service-user/proto/user/user.pb.go:193
Method
Descriptor
()
shippy-service-user/proto/user/user.pb.go:247
Method
Encode
Encode a claim into a JWT
shippy-service-user/service.go:44
Method
FindAvailable
FindAvailable - checks a specification against a map of vessels, if capacity and max weight are below a vessels capacity and max weight, then return t
shippy-service-vessel/repository.go:73
Method
FindAvailable
FindAvailable vessels
shippy-service-vessel/handler.go:14
Method
FindAvailable
(ctx context.Context, in *Specification, opts ...client.CallOption)
shippy-service-vessel/proto/vessel/vessel.pb.micro.go:61
Method
FindAvailable
(context.Context, *Specification, *Response)
shippy-service-vessel/proto/vessel/vessel.pb.micro.go:84
Method
FindAvailable
(ctx context.Context, in *Specification, out *Response)
shippy-service-vessel/proto/vessel/vessel.pb.micro.go:104
Method
Get
(ctx context.Context, id string)
shippy-service-user/repository.go:80
Method
Get
(ctx context.Context, req *pb.User, res *pb.Response)
shippy-service-user/handler.go:22
Method
Get
(ctx context.Context, in *User, opts ...client.CallOption)
shippy-service-user/proto/user/user.pb.micro.go:74
Method
Get
(context.Context, *User, *Response)
shippy-service-user/proto/user/user.pb.micro.go:118
Method
Get
(ctx context.Context, in *User, out *Response)
shippy-service-user/proto/user/user.pb.micro.go:147
Method
GetAll
GetAll -
shippy-service-consignment/repository.go:105
Method
GetAll
(ctx context.Context)
shippy-service-user/repository.go:71
Method
GetAll
(ctx context.Context, req *pb.Request, res *pb.Response)
shippy-service-user/handler.go:34
Method
GetAll
(ctx context.Context, in *Request, opts ...client.CallOption)
shippy-service-user/proto/user/user.pb.micro.go:84
Method
GetAll
(context.Context, *Request, *Response)
shippy-service-user/proto/user/user.pb.micro.go:119
Method
GetAll
(ctx context.Context, in *Request, out *Response)
shippy-service-user/proto/user/user.pb.micro.go:151
Method
GetAvailable
()
shippy-service-vessel/proto/vessel/vessel.pb.go:88
Method
GetByEmail
GetByEmail fetches a single user by their email address
shippy-service-user/repository.go:99
Method
GetCapacity
()
shippy-service-vessel/proto/vessel/vessel.pb.go:67
Method
GetCapacity
()
shippy-service-vessel/proto/vessel/vessel.pb.go:135
Method
GetCode
()
shippy-service-user/proto/user/user.pb.go:269
Method
GetCompany
()
shippy-service-user/proto/user/user.pb.go:74
Method
GetConsignment
()
shippy-service-consignment/proto/consignment/consignment.pb.go:230
Method
GetConsignments
GetConsignments -
shippy-service-consignment/handler.go:50
Method
GetConsignments
()
shippy-service-consignment/proto/consignment/consignment.pb.go:237
Method
GetConsignments
(ctx context.Context, in *GetRequest, opts ...client.CallOption)
shippy-service-consignment/proto/consignment/consignment.pb.micro.go:71
Method
GetConsignments
(context.Context, *GetRequest, *Response)
shippy-service-consignment/proto/consignment/consignment.pb.micro.go:85
Method
GetConsignments
(ctx context.Context, in *GetRequest, out *Response)
shippy-service-consignment/proto/consignment/consignment.pb.micro.go:108
next →
1–100 of 247, ranked by callers