MCPcopy Create free account

hub / github.com/EwanValentine/shippy / functions

Functions247 in github.com/EwanValentine/shippy

↓ 5 callersMethodString
()
shippy-service-user/proto/user/user.pb.go:36
↓ 3 callersMethodDecode
(token string)
shippy-service-user/handler.go:13
↓ 2 callersMethodCreate
(ctx context.Context, in *Vessel, opts ...client.CallOption)
shippy-service-vessel/proto/vessel/vessel.pb.micro.go:46
↓ 2 callersMethodCreate
(ctx context.Context, in *User, opts ...client.CallOption)
shippy-service-user/proto/user/user.pb.micro.go:45
↓ 2 callersMethodCreateConsignment
(ctx context.Context, in *Consignment, opts ...client.CallOption)
shippy-service-consignment/proto/consignment/consignment.pb.micro.go:45
↓ 2 callersMethodFindAvailable
(ctx context.Context, spec *Specification)
shippy-service-vessel/repository.go:12
↓ 2 callersMethodGetConsignments
(ctx context.Context, in *GetRequest, opts ...client.CallOption)
shippy-service-consignment/proto/consignment/consignment.pb.micro.go:46
↓ 2 callersFunctionMarshalUser
(user *pb.User)
shippy-service-user/repository.go:43
↓ 2 callersFunctionUnmarshalUser
(user *User)
shippy-service-user/repository.go:61
↓ 1 callersMethodAuth
(ctx context.Context, in *User, opts ...client.CallOption)
shippy-service-user/proto/user/user.pb.micro.go:48
↓ 1 callersMethodCreate
(ctx context.Context, consignment *Consignment)
shippy-service-consignment/repository.go:89
↓ 1 callersMethodCreate
(ctx context.Context, user *User)
shippy-service-user/repository.go:23
↓ 1 callersFunctionCreateClient
CreateClient -
shippy-service-vessel/datastore.go:12
↓ 1 callersFunctionCreateClient
CreateClient -
shippy-service-consignment/datastore.go:12
↓ 1 callersMethodEncode
(user *pb.User)
shippy-service-user/handler.go:14
↓ 1 callersMethodFindAvailable
(ctx context.Context, in *Specification, opts ...client.CallOption)
shippy-service-vessel/proto/vessel/vessel.pb.micro.go:45
↓ 1 callersMethodGet
(ctx context.Context, id string)
shippy-service-user/repository.go:22
↓ 1 callersMethodGet
(ctx context.Context, in *User, opts ...client.CallOption)
shippy-service-user/proto/user/user.pb.micro.go:46
↓ 1 callersMethodGetAll
(ctx context.Context)
shippy-service-consignment/repository.go:90
↓ 1 callersMethodGetAll
(ctx context.Context)
shippy-service-user/repository.go:21
↓ 1 callersMethodGetAll
(ctx context.Context, in *Request, opts ...client.CallOption)
shippy-service-user/proto/user/user.pb.micro.go:47
↓ 1 callersMethodGetByEmail
(ctx context.Context, email string)
shippy-service-user/repository.go:24
↓ 1 callersFunctionMarshalConsignment
Marshal an input consignment type to a consignment model
shippy-service-consignment/repository.go:67
↓ 1 callersFunctionMarshalContainer
(container *pb.Container)
shippy-service-consignment/repository.go:58
↓ 1 callersFunctionMarshalContainerCollection
(containers []*pb.Container)
shippy-service-consignment/repository.go:26
↓ 1 callersFunctionMarshalSpecification
(spec *pb.Specification)
shippy-service-vessel/repository.go:25
↓ 1 callersFunctionMarshalVessel
(vessel *pb.Vessel)
shippy-service-vessel/repository.go:39
↓ 1 callersFunctionNewConnection
NewConnection returns a new database connection instance
shippy-service-user/database.go:12
↓ 1 callersFunctionNewPostgresRepository
(db *sqlx.DB)
shippy-service-user/repository.go:31
↓ 1 callersFunctionUnmarshalConsignment
(consignment *Consignment)
shippy-service-consignment/repository.go:78
↓ 1 callersFunctionUnmarshalConsignmentCollection
(consignments []*Consignment)
shippy-service-consignment/repository.go:42
↓ 1 callersFunctionUnmarshalContainer
(container *Container)
shippy-service-consignment/repository.go:50
↓ 1 callersFunctionUnmarshalContainerCollection
(containers []*Container)
shippy-service-consignment/repository.go:34
↓ 1 callersFunctionUnmarshalUserCollection
(users []*User)
shippy-service-user/repository.go:53
↓ 1 callersFunctionUnmarshalVessel
(vessel *Vessel)
shippy-service-vessel/repository.go:50
↓ 1 callersMethodValidateToken
(ctx context.Context, in *Token, opts ...client.CallOption)
shippy-service-user/proto/user/user.pb.micro.go:49
↓ 1 callersFunctioncreateUser
(ctx context.Context, service micro.Service, user *proto.User)
shippy-cli-user/main.go:13
↓ 1 callersFunctionparseFile
(file string)
shippy-cli-consignment/main.go:20
MethodAuth
(ctx context.Context, req *pb.User, res *pb.Token)
shippy-service-user/handler.go:46
MethodAuth
(ctx context.Context, in *User, opts ...client.CallOption)
shippy-service-user/proto/user/user.pb.micro.go:94
MethodAuth
(context.Context, *User, *Token)
shippy-service-user/proto/user/user.pb.micro.go:120
MethodAuth
(ctx context.Context, in *User, out *Token)
shippy-service-user/proto/user/user.pb.micro.go:155
MethodCreate
(ctx context.Context, vessel *Vessel)
shippy-service-vessel/repository.go:13
MethodCreate
Create a new vessel
shippy-service-vessel/repository.go:92
MethodCreate
Create a new vessel
shippy-service-vessel/handler.go:28
MethodCreate
(ctx context.Context, in *Vessel, opts ...client.CallOption)
shippy-service-vessel/proto/vessel/vessel.pb.micro.go:71
MethodCreate
(context.Context, *Vessel, *Response)
shippy-service-vessel/proto/vessel/vessel.pb.micro.go:85
MethodCreate
(ctx context.Context, in *Vessel, out *Response)
shippy-service-vessel/proto/vessel/vessel.pb.micro.go:108
MethodCreate
Create -
shippy-service-consignment/repository.go:99
MethodCreate
Create a new user
shippy-service-user/repository.go:90
MethodCreate
(ctx context.Context, req *pb.User, res *pb.Response)
shippy-service-user/handler.go:65
MethodCreate
(ctx context.Context, in *User, opts ...client.CallOption)
shippy-service-user/proto/user/user.pb.micro.go:64
MethodCreate
(context.Context, *User, *Response)
shippy-service-user/proto/user/user.pb.micro.go:117
MethodCreate
(ctx context.Context, in *User, out *Response)
shippy-service-user/proto/user/user.pb.micro.go:143
MethodCreateConsignment
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
MethodCreateConsignment
(ctx context.Context, in *Consignment, opts ...client.CallOption)
shippy-service-consignment/proto/consignment/consignment.pb.micro.go:61
MethodCreateConsignment
(context.Context, *Consignment, *Response)
shippy-service-consignment/proto/consignment/consignment.pb.micro.go:84
MethodCreateConsignment
(ctx context.Context, in *Consignment, out *Response)
shippy-service-consignment/proto/consignment/consignment.pb.micro.go:104
MethodDecode
Decode a token string into a token object
shippy-service-user/service.go:28
MethodDescriptor
()
shippy-service-vessel/proto/vessel/vessel.pb.go:38
MethodDescriptor
()
shippy-service-vessel/proto/vessel/vessel.pb.go:113
MethodDescriptor
()
shippy-service-vessel/proto/vessel/vessel.pb.go:161
MethodDescriptor
()
shippy-service-consignment/proto/consignment/consignment.pb.go:37
MethodDescriptor
()
shippy-service-consignment/proto/consignment/consignment.pb.go:107
MethodDescriptor
()
shippy-service-consignment/proto/consignment/consignment.pb.go:167
MethodDescriptor
()
shippy-service-consignment/proto/consignment/consignment.pb.go:201
MethodDescriptor
()
shippy-service-user/proto/user/user.pb.go:38
MethodDescriptor
()
shippy-service-user/proto/user/user.pb.go:104
MethodDescriptor
()
shippy-service-user/proto/user/user.pb.go:138
MethodDescriptor
()
shippy-service-user/proto/user/user.pb.go:193
MethodDescriptor
()
shippy-service-user/proto/user/user.pb.go:247
MethodEncode
Encode a claim into a JWT
shippy-service-user/service.go:44
MethodFindAvailable
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
MethodFindAvailable
FindAvailable vessels
shippy-service-vessel/handler.go:14
MethodFindAvailable
(ctx context.Context, in *Specification, opts ...client.CallOption)
shippy-service-vessel/proto/vessel/vessel.pb.micro.go:61
MethodFindAvailable
(context.Context, *Specification, *Response)
shippy-service-vessel/proto/vessel/vessel.pb.micro.go:84
MethodFindAvailable
(ctx context.Context, in *Specification, out *Response)
shippy-service-vessel/proto/vessel/vessel.pb.micro.go:104
MethodGet
(ctx context.Context, id string)
shippy-service-user/repository.go:80
MethodGet
(ctx context.Context, req *pb.User, res *pb.Response)
shippy-service-user/handler.go:22
MethodGet
(ctx context.Context, in *User, opts ...client.CallOption)
shippy-service-user/proto/user/user.pb.micro.go:74
MethodGet
(context.Context, *User, *Response)
shippy-service-user/proto/user/user.pb.micro.go:118
MethodGet
(ctx context.Context, in *User, out *Response)
shippy-service-user/proto/user/user.pb.micro.go:147
MethodGetAll
GetAll -
shippy-service-consignment/repository.go:105
MethodGetAll
(ctx context.Context)
shippy-service-user/repository.go:71
MethodGetAll
(ctx context.Context, req *pb.Request, res *pb.Response)
shippy-service-user/handler.go:34
MethodGetAll
(ctx context.Context, in *Request, opts ...client.CallOption)
shippy-service-user/proto/user/user.pb.micro.go:84
MethodGetAll
(context.Context, *Request, *Response)
shippy-service-user/proto/user/user.pb.micro.go:119
MethodGetAll
(ctx context.Context, in *Request, out *Response)
shippy-service-user/proto/user/user.pb.micro.go:151
MethodGetAvailable
()
shippy-service-vessel/proto/vessel/vessel.pb.go:88
MethodGetByEmail
GetByEmail fetches a single user by their email address
shippy-service-user/repository.go:99
MethodGetCapacity
()
shippy-service-vessel/proto/vessel/vessel.pb.go:67
MethodGetCapacity
()
shippy-service-vessel/proto/vessel/vessel.pb.go:135
MethodGetCode
()
shippy-service-user/proto/user/user.pb.go:269
MethodGetCompany
()
shippy-service-user/proto/user/user.pb.go:74
MethodGetConsignment
()
shippy-service-consignment/proto/consignment/consignment.pb.go:230
MethodGetConsignments
GetConsignments -
shippy-service-consignment/handler.go:50
MethodGetConsignments
()
shippy-service-consignment/proto/consignment/consignment.pb.go:237
MethodGetConsignments
(ctx context.Context, in *GetRequest, opts ...client.CallOption)
shippy-service-consignment/proto/consignment/consignment.pb.micro.go:71
MethodGetConsignments
(context.Context, *GetRequest, *Response)
shippy-service-consignment/proto/consignment/consignment.pb.micro.go:85
MethodGetConsignments
(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