server

package
v0.969.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetContextKey added in v0.19.0

func GetContextKey(ctx context.Context) (string, error)

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

func BuildServer added in v0.270.0

func BuildServer(d db.Database, di discogs.Discogs, qc queue_client.QueueClient) *Server

func NewServer added in v0.31.0

func NewServer(ctx context.Context, token, secret, callback string) *Server

func (*Server) AddWant added in v0.288.0

func (s *Server) AddWant(ctx context.Context, req *pb.AddWantRequest) (*pb.AddWantResponse, error)

func (*Server) AddWantlist added in v0.282.0

func (s *Server) AddWantlist(ctx context.Context, req *pb.AddWantlistRequest) (*pb.AddWantlistResponse, error)

func (*Server) Clean added in v0.156.0

func (s *Server) Clean(ctx context.Context, _ *pb.CleanRequest) (*pb.CleanResponse, error)

func (*Server) DeleteUser added in v0.61.0

func (s *Server) DeleteUser(ctx context.Context, req *pb.DeleteUserRequest) (*pb.DeleteUserResponse, error)

func (*Server) GetLogin added in v0.9.0

func (s *Server) GetLogin(ctx context.Context, req *pb.GetLoginRequest) (*pb.GetLoginResponse, error)

func (*Server) GetOrg added in v0.222.0

func (s *Server) GetOrg(ctx context.Context, req *pb.GetOrgRequest) (*pb.GetOrgResponse, error)

func (*Server) GetRecord added in v0.175.0

func (s *Server) GetRecord(ctx context.Context, req *pb.GetRecordRequest) (*pb.GetRecordResponse, error)

func (*Server) GetSale added in v0.638.0

func (s *Server) GetSale(ctx context.Context, req *pb.GetSaleRequest) (*pb.GetSaleResponse, error)

func (*Server) GetState added in v0.61.0

func (s *Server) GetState(ctx context.Context, req *pb.GetStateRequest) (*pb.GetStateResponse, error)

func (*Server) GetURL

func (s *Server) GetURL(ctx context.Context, req *pb.GetURLRequest) (*pb.GetURLResponse, error)

func (*Server) GetUser added in v0.19.0

func (s *Server) GetUser(ctx context.Context, _ *pb.GetUserRequest) (*pb.GetUserResponse, error)

func (*Server) GetUsers added in v0.61.0

func (s *Server) GetUsers(ctx context.Context, _ *pb.GetUsersRequest) (*pb.GetUsersResponse, error)

func (*Server) GetWantlist added in v0.282.0

func (s *Server) GetWantlist(ctx context.Context, req *pb.GetWantlistRequest) (*pb.GetWantlistResponse, error)

func (*Server) GetWants added in v0.288.0

func (s *Server) GetWants(ctx context.Context, req *pb.GetWantsRequest) (*pb.GetWantsResponse, error)

func (*Server) ListWantlists added in v0.607.0

func (*Server) Observe added in v0.928.0

func (s *Server) Observe(ctx context.Context, desc string)

func (*Server) RefreshRecord added in v0.582.0

func (s *Server) RefreshRecord(ctx context.Context, req *pb.RefreshRecordRequest) (*pb.RefreshRecordResponse, error)

func (*Server) ServeHTTP added in v0.9.0

func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

func (*Server) ServerTiming added in v0.928.0

func (s *Server) ServerTiming(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (resp interface{}, err error)

func (*Server) SetConfig added in v0.116.0

func (s *Server) SetConfig(ctx context.Context, req *pb.SetConfigRequest) (*pb.SetConfigResponse, error)

func (*Server) SetIntent added in v0.120.0

func (s *Server) SetIntent(ctx context.Context, req *pb.SetIntentRequest) (*pb.SetIntentResponse, error)

func (*Server) SetOrgSnapshot added in v0.231.0

func (s *Server) SetOrgSnapshot(ctx context.Context, req *pb.SetOrgSnapshotRequest) (*pb.SetOrgSnapshotResponse, error)

func (*Server) UpdateWantlist added in v0.293.0

func (s *Server) UpdateWantlist(ctx context.Context, req *pb.UpdateWantlistRequest) (*pb.UpdateWantlistResponse, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL