tts

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Counter

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

Counter gets usage count for URL

func NewCounter

func NewCounter(url string) (*Counter, error)

NewCounter creates a new counter instance

func (*Counter) Get

func (c *Counter) Get(prm string) (int64, error)

Get return text by calling the service

func (*Counter) GetParamName

func (c *Counter) GetParamName() string

GetParamName returns parameter name for URL query parameter to use

Jump to

Keyboard shortcuts

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