Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConvertRequest ¶
type ConvertRequest struct { InputText string `json:"input_text"` FontSize int32 `json:"font_size"` FontFile string `json:"font_file"` FontStyle FontStyles `json:"font_style"` ConvID string `json:"conv_id"` }
type FontStyles ¶
type FontStyles int32
const ( FontStyles_NORMAL FontStyles = 0 FontStyles_ITALIC FontStyles = 1 )
type TengwarConverter ¶
type TengwarConverter struct { ClientGRPC pb.TengwarConverterClient ClientConn *grpc.ClientConn }
func NewTengwarConverter ¶
func NewTengwarConverter(tracer opentracing.Tracer, svcAddr string) (s *TengwarConverter, err error)
func (TengwarConverter) MakeImage ¶
func (client TengwarConverter) MakeImage(ctx context.Context, rq ConvertRequest) (bytes []byte, err error)
Click to show internal directories.
Click to hide internal directories.