7 lines
141 B
Go
7 lines
141 B
Go
|
package server
|
||
|
|
||
|
// State processes the stream and moves to the next state
|
||
|
type State interface {
|
||
|
Process(client *Client) (State, *Client)
|
||
|
}
|