Documentation ¶
Index ¶
- Constants
- Variables
- type EaselEntry
- type EaselMaker
- type PaletteEntry
- type Server
- func (serv *Server) DeleteEasel(c context.Context, req *proto.DeleteEaselRequest) (*proto.DeleteEaselResponse, error)
- func (serv *Server) DeletePalette(ctx context.Context, req *proto.DeletePaletteRequest) (*proto.DeletePaletteResponse, error)
- func (serv *Server) Listup(ctx context.Context, req *proto.ListupRequest) (*proto.ListupResponse, error)
- func (serv *Server) NewEasel(c context.Context, req *proto.NewEaselRequest) (*proto.NewEaselResponse, error)
- func (serv *Server) NewPalette(ctx context.Context, req *proto.NewPaletteRequest) (*proto.NewPaletteResponse, error)
- func (serv *Server) Ping(ctx context.Context, req *proto.PingRequest) (*proto.PongResponse, error)
- func (serv *Server) Render(ctx context.Context, req *proto.RenderRequest) (*proto.RenderResponse, error)
- func (serv *Server) Start(listen string, opts ...grpc.ServerOption)
- func (serv *Server) Stop()
- func (serv *Server) UpdatePalette(ctx context.Context, req *proto.UpdatePaletteRequest) (*proto.UpdatePaletteResponse, error)
Constants ¶
View Source
const ( // ExpiredDuration ... ExpiredDuration = time.Minute * 30 )
Variables ¶
View Source
var ( // ErrEaselNotFound ... ErrEaselNotFound = errors.New("Easel not found") // ErrPaletteNotFound ... ErrPaletteNotFound = errors.New("Palette not found") // ErrVertexBufferNotFound ... ErrVertexBufferNotFound = errors.New("VertexBuffer not found") )
View Source
var ( // ErreaselMakerImplAlreadyClosed ... ErreaselMakerImplAlreadyClosed = errors.New("Easel maker is already stopped.") )
Functions ¶
This section is empty.
Types ¶
type EaselEntry ¶
type EaselEntry struct {
// contains filtered or unexported fields
}
EaselEntry ...
type EaselMaker ¶
type EaselMaker interface { RequestNewEasel() <-chan *easel.Easel RequestDelEasel(e *easel.Easel) Start() Stop() }
EaselMaker ...
type PaletteEntry ¶
type PaletteEntry struct {
// contains filtered or unexported fields
}
PaletteEntry ...
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server ...
func (*Server) DeleteEasel ¶
func (serv *Server) DeleteEasel(c context.Context, req *proto.DeleteEaselRequest) (*proto.DeleteEaselResponse, error)
DeleteEasel ...
func (*Server) DeletePalette ¶
func (serv *Server) DeletePalette(ctx context.Context, req *proto.DeletePaletteRequest) (*proto.DeletePaletteResponse, error)
DeletePalette ...
func (*Server) Listup ¶
func (serv *Server) Listup(ctx context.Context, req *proto.ListupRequest) (*proto.ListupResponse, error)
Listup ...
func (*Server) NewEasel ¶
func (serv *Server) NewEasel(c context.Context, req *proto.NewEaselRequest) (*proto.NewEaselResponse, error)
NewEasel ...
func (*Server) NewPalette ¶
func (serv *Server) NewPalette(ctx context.Context, req *proto.NewPaletteRequest) (*proto.NewPaletteResponse, error)
NewPalette ...
func (*Server) Ping ¶
func (serv *Server) Ping(ctx context.Context, req *proto.PingRequest) (*proto.PongResponse, error)
Ping ...
func (*Server) Render ¶
func (serv *Server) Render(ctx context.Context, req *proto.RenderRequest) (*proto.RenderResponse, error)
Render ...
func (*Server) Start ¶
func (serv *Server) Start(listen string, opts ...grpc.ServerOption)
Start ...
func (*Server) UpdatePalette ¶
func (serv *Server) UpdatePalette(ctx context.Context, req *proto.UpdatePaletteRequest) (*proto.UpdatePaletteResponse, error)
UpdatePalette ...
Click to show internal directories.
Click to hide internal directories.